[gedit] Remove gpdefs left over from quick open being in gedit-plugins



commit f5b01f7b91572cec45cac67929a7d6e2b81dfc3f
Author: Jesse van den Kieboom <jesse icecrew nl>
Date:   Sat May 23 21:37:02 2009 +0200

    Remove gpdefs left over from quick open being in gedit-plugins
---
 plugins/quickopen/quickopen/popup.py        |    8 --------
 plugins/quickopen/quickopen/windowhelper.py |    8 --------
 2 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py
index 3528c3f..0883fb0 100644
--- a/plugins/quickopen/quickopen/popup.py
+++ b/plugins/quickopen/quickopen/popup.py
@@ -28,14 +28,6 @@ import gedit
 import xml
 from virtualdirs import VirtualDirectory
 
-from gpdefs import *
-
-try:
-    gettext.bindtextdomain(GETTEXT_PACKAGE, GP_LOCALEDIR)
-    _ = lambda s: gettext.dgettext(GETTEXT_PACKAGE, s);
-except:
-    _ = lambda s: s
-
 class Popup(gtk.Dialog):
         def __init__(self, window, paths, handler):
                 gtk.Dialog.__init__(self,
diff --git a/plugins/quickopen/quickopen/windowhelper.py b/plugins/quickopen/quickopen/windowhelper.py
index 92e40d4..750f308 100644
--- a/plugins/quickopen/quickopen/windowhelper.py
+++ b/plugins/quickopen/quickopen/windowhelper.py
@@ -37,14 +37,6 @@ ui_str = """<ui>
 </ui>
 """
 
-from gpdefs import *
-
-try:
-    gettext.bindtextdomain(GETTEXT_PACKAGE, GP_LOCALEDIR)
-    _ = lambda s: gettext.dgettext(GETTEXT_PACKAGE, s);
-except:
-    _ = lambda s: s
-
 class WindowHelper:
         def __init__(self, window, plugin):
                 self._window = window



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