[gedit] externaltools: use Gedit.App instead of Gedit.app...



commit 27c7ea4e6c6f7229627a55b2a59b7bbc5a242a92
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Jun 16 13:00:04 2011 +0200

    externaltools: use Gedit.App instead of Gedit.app...

 plugins/externaltools/tools/filelookup.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/externaltools/tools/filelookup.py b/plugins/externaltools/tools/filelookup.py
index f8ebacf..43b9710 100644
--- a/plugins/externaltools/tools/filelookup.py
+++ b/plugins/externaltools/tools/filelookup.py
@@ -109,7 +109,7 @@ class OpenDocumentRelPathFileLookupProvider(FileLookupProvider):
         if path.startswith('/'):
             return None
 
-        for doc in Gedit.app_get_default().get_documents():
+        for doc in Gedit.App.get_default().get_documents():
             if doc.is_local():
                 location = doc.get_location()
                 if location:
@@ -134,7 +134,7 @@ class OpenDocumentFileLookupProvider(FileLookupProvider):
         if path.startswith('/'):
             return None
 
-        for doc in Gedit.app_get_default().get_documents():
+        for doc in Gedit.App.get_default().get_documents():
             if doc.is_local():
                 location = doc.get_location()
                 if location and location.get_uri().endswith(path):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]