From 10ad76b2f44feff00a0975f83d25c847da04d87d Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 26 Jul 2008 04:16:56 +0000 Subject: [PATCH] Fix last --- deluge/ui/gtkui/mainwindow.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/deluge/ui/gtkui/mainwindow.py b/deluge/ui/gtkui/mainwindow.py index 34be3de0b..20ac4bc97 100644 --- a/deluge/ui/gtkui/mainwindow.py +++ b/deluge/ui/gtkui/mainwindow.py @@ -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: