mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 03:55:43 +00:00
new interface
This commit is contained in:
parent
6511e33b3e
commit
919b192dd4
@ -57,7 +57,6 @@ class DelugeGTK:
|
||||
"pref_clicked": self.prf.show_pref,
|
||||
"plugins_clicked": self.prf.show_plugins,
|
||||
## Torrent Menu
|
||||
"show_info": self.show_info_pane,
|
||||
## Help Menu
|
||||
"show_about_dialog": self.abt.show,
|
||||
}
|
||||
@ -97,11 +96,6 @@ class DelugeGTK:
|
||||
def add_torrent(self, obj):
|
||||
pass
|
||||
|
||||
def show_info_pane(self, obj):
|
||||
if(obj.get_active()):
|
||||
self.wtree.get_widget("torrent_info").show()
|
||||
else:
|
||||
self.wtree.get_widget("torrent_info").hide()
|
||||
|
||||
## For testing purposes, create a copy of the interface
|
||||
if __name__ == "__main__":
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user