Author: andar
Revision: 5598
Log:
Make sure the 'quit and shutdown daemon' menuitem is shown when
switching daemons
Diff:
Modified: trunk/deluge/ui/gtkui/menubar.py
===================================================================
--- trunk/deluge/ui/gtkui/menubar.py 2009-07-31 00:39:09 UTC (rev 5597)
+++ trunk/deluge/ui/gtkui/menubar.py 2009-07-31 00:46:42 UTC (rev 5598)
@@ -194,6 +194,9 @@
for widget in non_remote_items:
self.torrentmenu_glade.get_widget(widget).set_no_show_all(False)
+ if not self.config["classic_mode"]:
+ self.window.main_glade.get_widget("separatormenuitem").show()
+ self.window.main_glade.get_widget("menuitem_quitdaemon").show()
# Show the Torrent menu because we're connected to a host
self.menu_torrent.show()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---