Skip to content
Snippets Groups Projects
Commit d2802200 authored by Dicson's avatar Dicson
Browse files

image,juick. change buttons size

parent d050b414
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ class Base(object):
self.button.set_property('relief', gtk.RELIEF_NONE)
self.button.set_property('can-focus', False)
img = gtk.Image()
img.set_from_stock('gtk-orientation-portrait', gtk.ICON_SIZE_BUTTON)
img.set_from_stock('gtk-orientation-portrait', gtk.ICON_SIZE_MENU)
self.button.set_image(img)
self.button.set_tooltip_text('Send image')
send_button = chat_control.xml.get_object('send_button')
......
[info]
name: Image
short_name: image
version: 0.1
version: 0.2
description: This plugin is designed to send a small(0 - 40 kb) graphic image to your contact.
Client on the other side must support XEP-0071: XHTML-IM and maintain the scheme data: URI.
Psi+ and Jabbim supported this.
......
[info]
name: Juick
short_name: Juick
version: 0.7
version: 0.8
description: Clickable juick links , juick nics, preview juick picturs.
The key combination alt + up in the textbox allow insert the number of last message (comment or topic).
authors: Denis Fomin <fominde@gmail.com>
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment