From d179352280ba6924c77235150f074e18cf60f761 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Fri, 1 Apr 2011 23:17:37 +0400 Subject: [PATCH] juick plugin. add tooltips for buttons --- juick/plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/juick/plugin.py b/juick/plugin.py index 95c8135..c5b2fdc 100644 --- a/juick/plugin.py +++ b/juick/plugin.py @@ -171,6 +171,7 @@ class Base(object): factory.add_default() img.set_from_stock('juick', gtk.ICON_SIZE_BUTTON) self.button.set_image(img) + self.button.set_tooltip_text('Juick commands') send_button = self.chat_control.xml.get_object('send_button') send_button_pos = actions_hbox.child_get_property(send_button, 'position') @@ -196,6 +197,7 @@ class Base(object): id_ = self.tag_button.connect('clicked', self.on_juick_tag_button_clicked) self.chat_control.handlers[id_] = self.tag_button self.tag_button.set_no_show_all(True) + self.tag_button.set_tooltip_text('Juick tags') self.tag_button.set_property('visible', self.plugin.config['SHOW_TAG_BUTTON'])