[gedit-latex] Fix master document: use relative path
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Fix master document: use relative path
- Date: Wed, 29 Jun 2011 00:12:32 +0000 (UTC)
commit 7bd734ba169839f5518b1fda539ba82f3ca87986
Author: John Stowers <john stowers gmail com>
Date: Wed Jun 29 11:34:13 2011 +1200
Fix master document: use relative path
latex/latex/editor.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/latex/latex/editor.py b/latex/latex/editor.py
index daedbcb..926a7fb 100644
--- a/latex/latex/editor.py
+++ b/latex/latex/editor.py
@@ -361,7 +361,7 @@ class LaTeXEditor(Editor, IIssueHandler):
property_file["MasterFilename"] = master_filename
property_file.save()
- return File(master_filename)
+ return File.create_from_relative_path(master_filename, self._file.dirname)
else:
# no master file chosen
return None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]