image,juick. change buttons size

This commit is contained in:
Denis Fomin
2011-11-10 15:44:04 +03:00
parent d050b414f2
commit d280220071
4 changed files with 5 additions and 5 deletions

View File

@@ -171,7 +171,7 @@ class Base(object):
factory = gtk.IconFactory()
factory.add('juick', iconset)
factory.add_default()
img.set_from_stock('juick', gtk.ICON_SIZE_BUTTON)
img.set_from_stock('juick', gtk.ICON_SIZE_MENU)
self.button.set_image(img)
self.button.set_tooltip_text(_('Juick commands'))
send_button = self.chat_control.xml.get_object('send_button')
@@ -192,7 +192,7 @@ class Base(object):
iconset = gtk.IconSet(pixbuf=pixbuf)
factory.add('juick_tag', iconset)
factory.add_default()
img.set_from_stock('juick_tag', gtk.ICON_SIZE_BUTTON)
img.set_from_stock('juick_tag', gtk.ICON_SIZE_MENU)
self.tag_button.set_image(img)
actions_hbox.add_with_properties(self.tag_button, 'position',
send_button_pos - 1, 'expand', False)