summaryrefslogtreecommitdiff
path: root/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala')
-rw-r--r--x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala b/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala
new file mode 100644
index 000000000000..33c75b2ac884
--- /dev/null
+++ b/x11-wm/plank/files/patch-lib_Widgets_PreferencesWindow.vala
@@ -0,0 +1,15 @@
+--- lib/Widgets/PreferencesWindow.vala.orig 2015-04-07 07:42:22 UTC
++++ lib/Widgets/PreferencesWindow.vala
+@@ -59,6 +59,12 @@ namespace Plank.Widgets
+
+ construct
+ {
++ GLib.Intl.setlocale (LocaleCategory.ALL, "");
++ string langpack_dir = GLib.Path.build_filename ("%%PREFIX%%", "share", "locale");
++ GLib.Intl.bindtextdomain ("plank", langpack_dir);
++ GLib.Intl.bind_textdomain_codeset ("plank", "UTF-8");
++ GLib.Intl.textdomain ("plank");
++
+ skip_pager_hint = true;
+ skip_taskbar_hint = true;
+ title = _("Preferences");