summaryrefslogtreecommitdiff
path: root/plugins/externaltools/tools/filelookup.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/externaltools/tools/filelookup.py')
-rwxr-xr-xplugins/externaltools/tools/filelookup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/externaltools/tools/filelookup.py b/plugins/externaltools/tools/filelookup.py
index 229823b7..ce4961f9 100755
--- a/plugins/externaltools/tools/filelookup.py
+++ b/plugins/externaltools/tools/filelookup.py
@@ -18,7 +18,7 @@
import os
import gio
-import gedit
+import pluma
class FileLookup:
"""
@@ -110,7 +110,7 @@ class OpenDocumentRelPathFileLookupProvider(FileLookupProvider):
if path.startswith('/'):
return None
- for doc in gedit.app_get_default().get_documents():
+ for doc in pluma.app_get_default().get_documents():
if doc.is_local():
location = doc.get_location()
if location:
@@ -135,7 +135,7 @@ class OpenDocumentFileLookupProvider(FileLookupProvider):
if path.startswith('/'):
return None
- for doc in gedit.app_get_default().get_documents():
+ for doc in pluma.app_get_default().get_documents():
if doc.is_local():
location = doc.get_location()
if location and location.get_uri().endswith(path):