diff --git a/src/chat_control.py b/src/chat_control.py index 53daca27e..41b4f5267 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -352,9 +352,14 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools): 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