This commit is contained in:
Andrew Resch 2008-07-26 04:16:56 +00:00
commit 10ad76b2f4

View file

@ -82,12 +82,7 @@ class MainWindow(component.Component):
self.config["enable_system_tray"]) and not \ self.config["enable_system_tray"]) and not \
self.window.get_property("visible"): self.window.get_property("visible"):
log.debug("Showing window") log.debug("Showing window")
self.show() def on_drag_data_received_event(self, widget, drag_context, x, y, selection_data, info, timestamp): self.show()
args = []
for uri in selection_data.data.split():
args.append(urllib.unquote(urlparse(uri).path))
process_args(args)
drag_context.finish(True, True)
def show(self): def show(self):
try: try: