diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-09-28 18:59:08 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-09-28 18:59:08 (GMT) |
commit | 2fbe784feaafcb5c8cf59c272ceddd84ebd48a86 (patch) | |
tree | 10b95c0b6a6bdc081078d1f307de04d0a3781a7f | |
parent | a647aca1363621c17d86175c60ac0c74479f1d28 (diff) |
Use simpler icon for the tray button - SL #3868
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
-rw-r--r-- | viewtoolbar.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/viewtoolbar.py b/viewtoolbar.py index 7ea4487..41ea21f 100644 --- a/viewtoolbar.py +++ b/viewtoolbar.py @@ -65,6 +65,7 @@ class ViewToolbar(Gtk.Toolbar): self.fullscreen.show() self.traybutton = ToggleToolButton('tray-show') + self.traybutton.set_icon_name('tray-favourite') self.traybutton.connect('toggled', self.__tray_toggled_cb) self.traybutton.props.sensitive = False self.traybutton.props.active = False @@ -108,9 +109,7 @@ class ViewToolbar(Gtk.Toolbar): def __tray_toggled_cb(self, button): if button.props.active: self._activity.tray.show() - self.traybutton.set_icon_name('tray-show') self.traybutton.set_tooltip(_('Show Tray')) else: self._activity.tray.hide() - self.traybutton.set_icon_name('tray-hide') self.traybutton.set_tooltip(_('Hide Tray')) |