diff options
author | Denis Fomin <fominde@gmail.com> | 2011-09-03 13:02:59 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2011-09-03 13:02:59 +0400 |
commit | d674b13ebf82f84949008f6c860cc07eafcc4816 (patch) | |
tree | e6b44c355cd95b328ce8f34900f1039cc59c7fa8 /juick/plugin.py | |
parent | ff5c81cc2e10c36228c46581bc84641930388a8f (diff) |
juick plugin. translatable tooltips for buttons
Diffstat (limited to 'juick/plugin.py')
-rw-r--r-- | juick/plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick/plugin.py b/juick/plugin.py index 6b48d50..b06fcc0 100644 --- a/juick/plugin.py +++ b/juick/plugin.py @@ -156,7 +156,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') + 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') @@ -182,7 +182,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_tooltip_text(_('Juick tags')) self.tag_button.set_property('visible', self.plugin.config['SHOW_TAG_BUTTON']) |