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

image plugin. add tooltip for button

parent e5633917
No related branches found
No related tags found
No related merge requests found
......@@ -57,14 +57,9 @@ class Base(object):
self.button.set_property('relief', gtk.RELIEF_NONE)
self.button.set_property('can-focus', False)
img = gtk.Image()
#img_path = self.plugin.local_file_path('favicon.png')
#pixbuf = gtk.gdk.pixbuf_new_from_file(img_path)
#iconset = gtk.IconSet(pixbuf=pixbuf)
#factory = gtk.IconFactory()
#factory.add('juick', iconset)
#factory.add_default()
img.set_from_stock('gtk-orientation-portrait', gtk.ICON_SIZE_BUTTON)
self.button.set_image(img)
self.button.set_tooltip_text('Send image')
send_button = chat_control.xml.get_object('send_button')
send_button_pos = actions_hbox.child_get_property(send_button,
'position')
......
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