mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix hiding bottom pane when no tabs are enabled upon restart
This commit is contained in:
parent
51f18d3f54
commit
2294c35e3f
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Deluge 1.1.4 - (In Development)
|
||||
GtkUI:
|
||||
* Fix hiding bottom pane when no tabs are enabled upon restart
|
||||
|
||||
Deluge 1.1.3 - (15 February 2009)
|
||||
Core:
|
||||
* Fix issue where checking queue would stop
|
||||
|
|
|
@ -204,6 +204,12 @@ class TorrentDetails(component.Component):
|
|||
self.regenerate_positions()
|
||||
self.generate_menu()
|
||||
|
||||
show = False
|
||||
for name, tab in self.tabs.iteritems():
|
||||
show = show or tab.is_visible
|
||||
|
||||
self.visible(show)
|
||||
|
||||
def show_tab(self, tab_name):
|
||||
log.debug("%s\n%s\n%s", self.tabs[tab_name].get_child_widget(),
|
||||
self.tabs[tab_name].get_tab_label(),
|
||||
|
@ -234,6 +240,7 @@ class TorrentDetails(component.Component):
|
|||
self.tabs[tab_name].is_visible = True
|
||||
self.regenerate_positions()
|
||||
self.generate_menu()
|
||||
self.visible(True)
|
||||
|
||||
def generate_menu(self):
|
||||
"""Generates the checklist menu for all the tabs and attaches it"""
|
||||
|
|
Loading…
Add table
Reference in a new issue