changeset eb79638b0c73 in /home/hg/repos/gajim
branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=eb79638b0c73 description: fix history button icon in gc
diffstat:
src/chat_control.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 779388b37875 -r eb79638b0c73 src/chat_control.py --- a/src/chat_control.py Sat Mar 16 23:56:22 2013 +0400 +++ b/src/chat_control.py Sun Mar 17 00:36:39 2013 +0400 @@ -352,9 +352,14 @@ contact, acct, resource=resource)
widget = self.xml.get_object('history_button') + # set document-open-recent icon for history button if gtkgui_helpers.gtk_icon_theme.has_icon('document-open-recent'): - img = self.xml.get_object('image5') + if widget_name == 'groupchat_control': + img = self.xml.get_object('image8') + else: + img = self.xml.get_object('image5') img.set_from_icon_name('document-open-recent', Gtk.IconSize.MENU) + id_ = widget.connect('clicked', self._on_history_menuitem_activate) self.handlers[id_] = widget