diff options
author | 2012-06-01 12:01:49 +0300 | |
---|---|---|
committer | 2012-06-01 12:01:49 +0300 | |
commit | 1caeaac08ff8b10b11ba72223424a08a96ebac88 (patch) | |
tree | 91532f06d988d4a11da60ce809d6263c1088b67d | |
parent | Removed live gajim ebuild (diff) | |
download | eatnumber1-1caeaac08ff8b10b11ba72223424a08a96ebac88.tar.gz eatnumber1-1caeaac08ff8b10b11ba72223424a08a96ebac88.tar.bz2 eatnumber1-1caeaac08ff8b10b11ba72223424a08a96ebac88.zip |
-rw-r--r-- | net-im/gajim/Manifest | 2 | ||||
-rw-r--r-- | net-im/gajim/files/window_class.patch | 46 |
2 files changed, 0 insertions, 48 deletions
diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest deleted file mode 100644 index a7505fb..0000000 --- a/net-im/gajim/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -AUX window_class.patch 1723 RMD160 29a38f5a50f9c2890b40b99ab942c1c9c8c5cfc5 SHA1 2298d605b92c7881c3f7ccd8bb61a4c6fadc8fff SHA256 4c7977fa971209ee8882b55aedb459fbe73dd85035eb97767ecb01d6b07d93e7 -EBUILD gajim-9999.ebuild 2342 RMD160 06f7b2aaee16475b5f7c4e64b5de236caff0541b SHA1 a134ff591c69c6a640c816fd996f7f0673d40e2f SHA256 2e1e05de318a6b3b9404e7d543891c9204fd33b484a6aa77890476a92509ea86 diff --git a/net-im/gajim/files/window_class.patch b/net-im/gajim/files/window_class.patch deleted file mode 100644 index 007cd25..0000000 --- a/net-im/gajim/files/window_class.patch +++ /dev/null @@ -1,46 +0,0 @@ -diff -r 09d54b679f9d src/message_window.py ---- a/src/message_window.py Wed Dec 01 17:03:38 2010 +0300 -+++ b/src/message_window.py Fri Dec 10 19:14:34 2010 +0300 -@@ -75,6 +75,7 @@ - self.widget_name = 'message_window' - self.xml = gtkgui_helpers.get_gtk_builder('%s.ui' % self.widget_name) - self.window = self.xml.get_object(self.widget_name) -+ self.window.set_wmclass("%s - Gajim" % self.make_wmname(False), "gajim[%s]" % self.type_) - self.notebook = self.xml.get_object('notebook') - self.parent_paned = None - -@@ -443,6 +444,20 @@ - if icon: - self.window.set_icon(icon.get_pixbuf()) - -+ def make_wmname(self, translate=True): -+ if not translate: -+ tr = lambda x: x -+ else: -+ tr = _ -+ if self.type_ == 'chat': -+ label = tr('Chats') -+ elif self.type_ == 'gc': -+ label = tr('Group Chats') -+ else: -+ label = tr('Private Chats') -+ -+ return label -+ - def show_title(self, urgent=True, control=None): - """ - Redraw the window's title -@@ -481,12 +496,7 @@ - window_mode = gajim.interface.msg_win_mgr.mode - if window_mode == MessageWindowMgr.ONE_MSG_WINDOW_PERTYPE: - # Show the plural form since number of tabs > 1 -- if self.type_ == 'chat': -- label = _('Chats') -- elif self.type_ == 'gc': -- label = _('Group Chats') -- else: -- label = _('Private Chats') -+ label = self.make_wmname() - elif window_mode == MessageWindowMgr.ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER: - label = None - elif self.get_num_controls() == 1:
\ No newline at end of file |