diff options
author | Simon Schampijer <simon@laptop.org> | 2013-02-19 09:10:45 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2013-02-19 13:58:10 (GMT) |
commit | 158f4384d1f3423a6c2063723434f4f331796f81 (patch) | |
tree | d8b0ce0e37d358e36a4e1a276f9925c17e93c0f4 | |
parent | e047cb093c76b83b0c94a05a97da7b377fa13425 (diff) |
Journal toolbar: add tooltip to favorite filter
This patch adds the tooltip 'Favorite entries' to the favorite filter
button in the Journal toolbar. The button is a ToggleToolButton and
with the recent change in the toolkit-gtk3 63b8e87b1a99a854e9adbb1579b1e05244d2dc4
we do hide the tooltip when the button is clicked or touched.
This adds a new string, therefore this patch is only applied to
master. The addition and string has been discussed with Gary
and Manuel.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel QuiƱones <manuq@laptop.org>
-rw-r--r-- | src/jarabe/journal/journaltoolbox.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jarabe/journal/journaltoolbox.py b/src/jarabe/journal/journaltoolbox.py index c7ee73a..69ff777 100644 --- a/src/jarabe/journal/journaltoolbox.py +++ b/src/jarabe/journal/journaltoolbox.py @@ -89,6 +89,7 @@ class MainToolbox(ToolbarBox): self._add_widget(self.search_entry, expand=True) self._favorite_button = ToggleToolButton('emblem-favorite') + self._favorite_button.set_tooltip(_('Favorite entries')) self._favorite_button.connect('toggled', self.__favorite_button_toggled_cb) self.toolbar.insert(self._favorite_button, -1) |