image,juick. change buttons size
This commit is contained in:
@@ -62,7 +62,7 @@ class Base(object):
|
|||||||
self.button.set_property('relief', gtk.RELIEF_NONE)
|
self.button.set_property('relief', gtk.RELIEF_NONE)
|
||||||
self.button.set_property('can-focus', False)
|
self.button.set_property('can-focus', False)
|
||||||
img = gtk.Image()
|
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_image(img)
|
||||||
self.button.set_tooltip_text('Send image')
|
self.button.set_tooltip_text('Send image')
|
||||||
send_button = chat_control.xml.get_object('send_button')
|
send_button = chat_control.xml.get_object('send_button')
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Image
|
name: Image
|
||||||
short_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.
|
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.
|
Client on the other side must support XEP-0071: XHTML-IM and maintain the scheme data: URI.
|
||||||
Psi+ and Jabbim supported this.
|
Psi+ and Jabbim supported this.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Juick
|
name: Juick
|
||||||
short_name: Juick
|
short_name: Juick
|
||||||
version: 0.7
|
version: 0.8
|
||||||
description: Clickable juick links , juick nics, preview juick picturs.
|
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).
|
The key combination alt + up in the textbox allow insert the number of last message (comment or topic).
|
||||||
authors: Denis Fomin <fominde@gmail.com>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ class Base(object):
|
|||||||
factory = gtk.IconFactory()
|
factory = gtk.IconFactory()
|
||||||
factory.add('juick', iconset)
|
factory.add('juick', iconset)
|
||||||
factory.add_default()
|
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_image(img)
|
||||||
self.button.set_tooltip_text(_('Juick commands'))
|
self.button.set_tooltip_text(_('Juick commands'))
|
||||||
send_button = self.chat_control.xml.get_object('send_button')
|
send_button = self.chat_control.xml.get_object('send_button')
|
||||||
@@ -192,7 +192,7 @@ class Base(object):
|
|||||||
iconset = gtk.IconSet(pixbuf=pixbuf)
|
iconset = gtk.IconSet(pixbuf=pixbuf)
|
||||||
factory.add('juick_tag', iconset)
|
factory.add('juick_tag', iconset)
|
||||||
factory.add_default()
|
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)
|
self.tag_button.set_image(img)
|
||||||
actions_hbox.add_with_properties(self.tag_button, 'position',
|
actions_hbox.add_with_properties(self.tag_button, 'position',
|
||||||
send_button_pos - 1, 'expand', False)
|
send_button_pos - 1, 'expand', False)
|
||||||
|
|||||||
Reference in New Issue
Block a user