Commit d67b8620 authored by Kai Willadsen's avatar Kai Willadsen

Pass absolute paths on single-file VC open (actually closes bgo#650074)

parent 4391ac07
......@@ -650,6 +650,7 @@ class MeldWindow(gnomeglade.Component):
self.scheduler.remove_scheduler(doc.scheduler)
self.scheduler.add_task(cleanup)
self.scheduler.add_scheduler(doc.scheduler)
path = os.path.abspath(path)
doc.set_location(path)
doc.connect("create-diff", lambda obj,arg: self.append_diff(arg))
doc.run_diff([path])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment