gedit-plugins r358 - in trunk: . plugins/drawspaces
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit-plugins r358 - in trunk: . plugins/drawspaces
- Date: Sun, 20 Apr 2008 15:19:17 +0100 (BST)
Author: pborelli
Date: Sun Apr 20 14:19:17 2008
New Revision: 358
URL: http://svn.gnome.org/viewvc/gedit-plugins?rev=358&view=rev
Log:
2008-04-20 Paolo Borelli <pborelli katamail com>
* plugins/drawspaces/drawspaces.py: fix glade translation setup
Bug #527841
Modified:
trunk/ChangeLog
trunk/plugins/drawspaces/drawspaces.py
Modified: trunk/plugins/drawspaces/drawspaces.py
==============================================================================
--- trunk/plugins/drawspaces/drawspaces.py (original)
+++ trunk/plugins/drawspaces/drawspaces.py Sun Apr 20 14:19:17 2008
@@ -31,8 +31,6 @@
try:
from gpdefs import *
gettext.bindtextdomain(GETTEXT_PACKAGE, GP_LOCALEDIR)
- gtk.glade.bindtextdomain(GETTEXT_PACKAGE, GP_LOCALEDIR)
- gtk.glade.textdomain(GETTEXT_PACKAGE)
_ = lambda s: gettext.dgettext(GETTEXT_PACKAGE, s)
except:
_ = lambda s: s
@@ -200,7 +198,7 @@
self._plugin = plugin
- self.ui = gtk.glade.XML(self.GLADE_FILE, 'config-dialog')
+ self.ui = gtk.glade.XML(self.GLADE_FILE, 'config-dialog', domain=GETTEXT_PACKAGE)
self.dialog = self.ui.get_widget('config-dialog')
self['draw-spaces'].set_active(plugin._draw_spaces)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]