mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 23:48:40 +00:00
Fix hiding the bottom pane when disabling all the tabs
This commit is contained in:
parent
a118d3e7d5
commit
9280a9609e
2 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,7 @@ Deluge 0.9.07 - "1.0.0_RC7" (In Development)
|
||||||
GtkUI:
|
GtkUI:
|
||||||
* Add 'edit' to edit trackers dialog
|
* Add 'edit' to edit trackers dialog
|
||||||
* Improve performance of initial torrent list load
|
* Improve performance of initial torrent list load
|
||||||
|
* Fix hiding the bottom pane when disabling all the tabs
|
||||||
|
|
||||||
Deluge 0.9.06 - "1.0.0_RC6" (13 August 2008)
|
Deluge 0.9.06 - "1.0.0_RC6" (13 August 2008)
|
||||||
Core:
|
Core:
|
||||||
|
|
|
@ -186,6 +186,7 @@ class TorrentDetails(component.Component):
|
||||||
self.tabs[tab].is_visible = False
|
self.tabs[tab].is_visible = False
|
||||||
log.debug("n_pages: %s", self.notebook.get_n_pages())
|
log.debug("n_pages: %s", self.notebook.get_n_pages())
|
||||||
self.generate_menu()
|
self.generate_menu()
|
||||||
|
self.visible(False)
|
||||||
|
|
||||||
def show_all_tabs(self):
|
def show_all_tabs(self):
|
||||||
"""Shows all tabs"""
|
"""Shows all tabs"""
|
||||||
|
@ -197,6 +198,9 @@ class TorrentDetails(component.Component):
|
||||||
self.tabs[tab].position)
|
self.tabs[tab].position)
|
||||||
self.tabs[tab].is_visible = True
|
self.tabs[tab].is_visible = True
|
||||||
self.generate_menu()
|
self.generate_menu()
|
||||||
|
if not self.notebook.get_property("visible"):
|
||||||
|
# If the notebook isn't visible, show it
|
||||||
|
self.visible(True)
|
||||||
|
|
||||||
def hide_tab(self, tab_name):
|
def hide_tab(self, tab_name):
|
||||||
"""Hides tab by name"""
|
"""Hides tab by name"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue