Fix open folder
This commit is contained in:
parent
fe66f0f890
commit
310b428b78
|
@ -6,6 +6,9 @@ Deluge 0.9.03 - "1.0.0_RC3" (In-Development)
|
|||
UI:
|
||||
* Default to gtkui when running 'deluge' instead of defaulting to last used.
|
||||
|
||||
GtkUI:
|
||||
* Fix open folder
|
||||
|
||||
Misc:
|
||||
* Some changes for python 2.6 compatibility
|
||||
|
||||
|
|
|
@ -308,6 +308,10 @@ class MenuBar(component.Component):
|
|||
|
||||
def on_menuitem_open_folder_activate(self, data=None):
|
||||
log.debug("on_menuitem_open_folder")
|
||||
def _on_torrent_status(status):
|
||||
deluge.common.open_file(status["save_path"])
|
||||
for torrent_id in component.get("TorrentView").get_selected_torrents():
|
||||
client.get_torrent_status(_on_torrent_status, torrent_id, ["save_path"])
|
||||
|
||||
def on_menuitem_move_activate(self, data=None):
|
||||
log.debug("on_menuitem_move_activate")
|
||||
|
|
Loading…
Reference in New Issue