gtk -> Gtk

This commit is contained in:
Yann Leboulanger 2013-09-15 11:54:42 +02:00
parent c9bddaf1cf
commit 7745ea8f95
3 changed files with 8 additions and 8 deletions

View file

@ -833,12 +833,12 @@ class GroupchatControl(ChatControlBase):
request_voice_separator = xml.get_object('request_voice_separator')
if gtkgui_helpers.gtk_icon_theme.has_icon('bookmark-new'):
img = gtk.Image()
img.set_from_icon_name('bookmark-new', gtk.ICON_SIZE_MENU)
img = Gtk.Image()
img.set_from_icon_name('bookmark-new', Gtk.IconSize.MENU)
bookmark_room_menuitem.set_image(img)
if gtkgui_helpers.gtk_icon_theme.has_icon('document-open-recent'):
img = gtk.Image()
img.set_from_icon_name('document-open-recent', gtk.ICON_SIZE_MENU)
img = Gtk.Image()
img.set_from_icon_name('document-open-recent', Gtk.IconSize.MENU)
history_menuitem.set_image(img)
if hide_buttonbar_items:

View file

@ -257,8 +257,8 @@ control=None, gc_contact=None, is_anonymous=True):
account)
history_menuitem.connect('activate', roster.on_history, contact, account)
if gtkgui_helpers.gtk_icon_theme.has_icon('document-open-recent'):
img = gtk.Image()
img.set_from_icon_name('document-open-recent', gtk.ICON_SIZE_MENU)
img = Gtk.Image()
img.set_from_icon_name('document-open-recent', Gtk.IconSize.MENU)
history_menuitem.set_image(img)
if control:

View file

@ -5242,8 +5242,8 @@ class RosterWindow:
return
history_menuitem = self.xml.get_object('history_menuitem')
if gtkgui_helpers.gtk_icon_theme.has_icon('document-open-recent'):
img = gtk.Image()
img.set_from_icon_name('document-open-recent', gtk.ICON_SIZE_MENU)
img = Gtk.Image()
img.set_from_icon_name('document-open-recent', Gtk.IconSize.MENU)
history_menuitem.set_image(img)
new_chat_menuitem = self.xml.get_object('new_chat_menuitem')
single_message_menuitem = self.xml.get_object(