Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/home/HomeBox.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-07-02 10:00:05 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-07-02 10:00:05 (GMT)
commit42e67edab2c8d88f6fe7c96e6cc99414449e2740 (patch)
tree6d5b7155318820847ea1f8611535031f02e92866 /shell/view/home/HomeBox.py
parent11ac82143a2ab3c41bed8ec05305f3555ced002a (diff)
Evil tricks to not always show the XO palette at startup.
Diffstat (limited to 'shell/view/home/HomeBox.py')
-rw-r--r--shell/view/home/HomeBox.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/view/home/HomeBox.py b/shell/view/home/HomeBox.py
index a885445..5586ba2 100644
--- a/shell/view/home/HomeBox.py
+++ b/shell/view/home/HomeBox.py
@@ -115,6 +115,9 @@ class HomeBox(hippo.CanvasBox, hippo.CanvasItem):
def has_activities(self):
return self._donut.has_activities()
+ def enable_xo_palette(self):
+ self._my_icon.enable_palette()
+
def grab_and_rotate(self):
pass
@@ -130,6 +133,8 @@ class HomeMyIcon(MyIcon):
MyIcon.__init__(self, scale)
self._shell = shell
+
+ def enable_palette(self):
self.set_tooltip(profile.get_nick_name())
shutdown_menu_item = gtk.MenuItem(_('Shutdown'))