diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2014-01-14 20:43:22 (GMT) |
---|---|---|
committer | Manuel QuiƱones <manuel.por.aca@gmail.com> | 2014-01-16 16:48:06 (GMT) |
commit | b77658247204d1ef31da4b3bc20c58cc3ad5c2a3 (patch) | |
tree | 016ec1f9b09c77fa7f5873b374cbb4377b21204c /webactivity.py | |
parent | 9dd9201453c90f3cd93b2f9dfcf804cda5250a76 (diff) |
Make consistent the tooltip of the show/hide tray button
Fixes #4712.
Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
Diffstat (limited to 'webactivity.py')
-rw-r--r-- | webactivity.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webactivity.py b/webactivity.py index 43267e2..cfaa240 100644 --- a/webactivity.py +++ b/webactivity.py @@ -614,6 +614,7 @@ class WebActivity(activity.Activity): item.show() self._view_toolbar.traybutton.props.sensitive = True self._view_toolbar.traybutton.props.active = True + self._view_toolbar.update_traybutton_tooltip() def _link_removed_cb(self, button, hash): ''' remove a link from tray and delete it in the model ''' @@ -622,6 +623,7 @@ class WebActivity(activity.Activity): if len(self._tray.get_children()) == 0: self._view_toolbar.traybutton.props.sensitive = False self._view_toolbar.traybutton.props.active = False + self._view_toolbar.update_traybutton_tooltip() def _link_clicked_cb(self, button, url): ''' an item of the link tray has been clicked ''' |