From 2863eebda401323e33f50a50cf0c48c2034794de Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Wed, 27 Oct 2010 23:11:35 +0000 Subject: New and better keyboard shortcuts --- src/common.py | 6 ------ src/gui.py | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/common.py b/src/common.py index f3fb878d..53318e19 100644 --- a/src/common.py +++ b/src/common.py @@ -145,12 +145,6 @@ def jid_get_bare(fulljid): """ return '%s@%s' % (jid_get_domain(fulljid), jid_get_node(fulljid)) -def is_jid_the_same(a, b): - """ - Compare two bare jids - """ - return jid_get_bare(a) == jid_get_bare(a) - DISTRO_INFO = { 'Arch Linux': '/etc/arch-release', 'Aurox Linux': '/etc/aurox-release', diff --git a/src/gui.py b/src/gui.py index 8e14ca35..7b60b4f1 100644 --- a/src/gui.py +++ b/src/gui.py @@ -134,10 +134,10 @@ class Gui(object): "KEY_F(8)": self.grow_information_win, "^N": self.rotate_rooms_right, "KEY_RESIZE": self.call_for_resize, - '^X': self.go_to_important_room, + 'M-e': self.go_to_important_room, 'M-r': self.go_to_roster, - '^W': self.go_to_previous_tab, - '^V': self.move_separator, + 'M-z': self.go_to_previous_tab, + 'M-v': self.move_separator, } # Add handlers -- cgit v1.2.3