use gtkgui_helpers for search icon
This commit is contained in:
parent
b4a7939c0b
commit
ab36710959
1 changed files with 1 additions and 2 deletions
|
@ -320,8 +320,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
self._on_bookmark_room_menuitem_activate)
|
self._on_bookmark_room_menuitem_activate)
|
||||||
self.handlers[id_] = widget
|
self.handlers[id_] = widget
|
||||||
|
|
||||||
icon_theme = gtk.icon_theme_get_default()
|
if gtkgui_helpers.gtk_icon_theme.has_icon('bookmark-new'):
|
||||||
if icon_theme.has_icon('bookmark-new'):
|
|
||||||
img = self.xml.get_object('image7')
|
img = self.xml.get_object('image7')
|
||||||
img.set_from_icon_name('bookmark-new', gtk.ICON_SIZE_MENU)
|
img.set_from_icon_name('bookmark-new', gtk.ICON_SIZE_MENU)
|
||||||
img.show()
|
img.show()
|
||||||
|
|
Loading…
Add table
Reference in a new issue