diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-02-11 20:56:32 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-02-11 20:56:32 +0100 |
commit | 277df9da5428a1fd16e0762de78a48e8839a8cc9 (patch) | |
tree | 7ad1d4068b20348a16a0558d898f5752eac07a43 /src/gtk-redshift | |
parent | Add templete for python source file with local definitions. (diff) | |
download | redshift-ng-277df9da5428a1fd16e0762de78a48e8839a8cc9.tar.gz redshift-ng-277df9da5428a1fd16e0762de78a48e8839a8cc9.tar.bz2 redshift-ng-277df9da5428a1fd16e0762de78a48e8839a8cc9.tar.xz |
gtk-redshift: Use local definitions for locale path.
Diffstat (limited to 'src/gtk-redshift')
-rwxr-xr-x | src/gtk-redshift/gtk-redshift.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gtk-redshift/gtk-redshift.py b/src/gtk-redshift/gtk-redshift.py index 98fce6a..a737154 100755 --- a/src/gtk-redshift/gtk-redshift.py +++ b/src/gtk-redshift/gtk-redshift.py @@ -27,10 +27,12 @@ pygtk.require("2.0") import gtk, glib +import defs + if __name__ == '__main__': # Internationalisation - gettext.bindtextdomain('redshift') + gettext.bindtextdomain('redshift', defs.LOCALEDIR) gettext.textdomain('redshift') _ = gettext.gettext |