mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix last
This commit is contained in:
parent
63ede39505
commit
10ad76b2f4
1 changed files with 1 additions and 6 deletions
|
@ -82,12 +82,7 @@ class MainWindow(component.Component):
|
|||
self.config["enable_system_tray"]) and not \
|
||||
self.window.get_property("visible"):
|
||||
log.debug("Showing window")
|
||||
self.show() def on_drag_data_received_event(self, widget, drag_context, x, y, selection_data, info, timestamp):
|
||||
args = []
|
||||
for uri in selection_data.data.split():
|
||||
args.append(urllib.unquote(urlparse(uri).path))
|
||||
process_args(args)
|
||||
drag_context.finish(True, True)
|
||||
self.show()
|
||||
|
||||
def show(self):
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue