From 2fbe784feaafcb5c8cf59c272ceddd84ebd48a86 Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Fri, 28 Sep 2012 18:59:08 +0000 Subject: Use simpler icon for the tray button - SL #3868 Signed-off-by: Manuel QuiƱones --- (limited to 'viewtoolbar.py') 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')) -- cgit v0.9.1