Make sure the 'quit and shutdown daemon' menuitem is shown when switching daemons

This commit is contained in:
Andrew Resch 2009-07-31 00:46:42 +00:00
parent ee442536a8
commit 983e37d4ab

View File

@ -194,6 +194,9 @@ class MenuBar(component.Component):
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()