Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Fomin <fominde@gmail.com>2011-05-25 23:45:51 +0400
committerDenis Fomin <fominde@gmail.com>2011-05-25 23:45:51 +0400
commitab36710959196dede05172d1aa3beb52735b340e (patch)
tree0db73971433431b9887ecd7508c5d63701cc1741
parentb4a7939c0b422f756c29978b7ba7eae878847ecd (diff)
use gtkgui_helpers for search icon
-rw-r--r--src/groupchat_control.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index ee6b7c615..fdeea03ad 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -320,8 +320,7 @@ class GroupchatControl(ChatControlBase):
self._on_bookmark_room_menuitem_activate)
self.handlers[id_] = widget
- icon_theme = gtk.icon_theme_get_default()
- if icon_theme.has_icon('bookmark-new'):
+ if gtkgui_helpers.gtk_icon_theme.has_icon('bookmark-new'):
img = self.xml.get_object('image7')
img.set_from_icon_name('bookmark-new', gtk.ICON_SIZE_MENU)
img.show()