summaryrefslogtreecommitdiff
path: root/plugins/externaltools/tools/manager.py
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-07 19:52:18 -0300
committerPerberos <[email protected]>2011-11-07 19:52:18 -0300
commit5ded9cba8563f336939400303d6a841d5089b107 (patch)
treec5676588cff26ba37e12369fe4de24b54e9f6682 /plugins/externaltools/tools/manager.py
parentf00b3a11a199f9f85a4d46a600f9d14179b37dbf (diff)
downloadpluma-5ded9cba8563f336939400303d6a841d5089b107.tar.bz2
pluma-5ded9cba8563f336939400303d6a841d5089b107.tar.xz
renaming from gedit to pluma
Diffstat (limited to 'plugins/externaltools/tools/manager.py')
-rwxr-xr-xplugins/externaltools/tools/manager.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/externaltools/tools/manager.py b/plugins/externaltools/tools/manager.py
index e28a088a..4d4d50aa 100755
--- a/plugins/externaltools/tools/manager.py
+++ b/plugins/externaltools/tools/manager.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-# Gedit External Tools plugin
+# Pluma External Tools plugin
# Copyright (C) 2005-2006 Steve Frécinaux <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
@@ -18,7 +18,7 @@
__all__ = ('Manager', )
-import gedit
+import pluma
import gtk
import gtksourceview2 as gsv
import os.path
@@ -114,7 +114,7 @@ class LanguagesPopup(gtk.Window):
def init_languages(self, languages):
manager = gsv.LanguageManager()
- langs = gedit.language_manager_list_languages_sorted(manager, True)
+ langs = pluma.language_manager_list_languages_sorted(manager, True)
self.model.append([_('All languages'), None, not languages])
self.model.append(['-', None, False])
@@ -548,7 +548,7 @@ class Manager:
self.script_hash = self.compute_hash(script)
contenttype = gio.content_type_guess(data=script)
- lmanager = gedit.get_language_manager()
+ lmanager = pluma.get_language_manager()
language = lmanager.guess_language(content_type=contenttype)
if language is not None:
@@ -818,7 +818,7 @@ class Manager:
def on_tool_manager_dialog_response(self, dialog, response):
if response == gtk.RESPONSE_HELP:
- gedit.help_display(self.dialog, 'gedit', 'gedit-external-tools-plugin')
+ pluma.help_display(self.dialog, 'pluma', 'pluma-external-tools-plugin')
return
self.on_tool_manager_dialog_focus_out(dialog, None)
@@ -830,7 +830,7 @@ class Manager:
def on_tool_manager_dialog_focus_out(self, dialog, event):
self.save_current_tool()
- for window in gedit.app_get_default().get_windows():
+ for window in pluma.app_get_default().get_windows():
helper = window.get_data("ExternalToolsPluginWindowData")
helper.menu.update()