diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-01-03 13:49:07 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-01-03 13:49:07 +0000 |
commit | 75603347c47b2b8c7a7c1589d6586d0d4c28a0d4 (patch) | |
tree | cdeacf8cfafd02e6bb03585c2b4b8b0171f85cd3 /x11-toolkits/granite/files/patch-lib_Application.vala | |
parent | commit the forgotten plist file (diff) |
x11-toolkits/granite: Update to 5.2.2
- Update WWW
- Add missing gsettings-desktop-schemas dependency to prevent
runtime crashes of applications using the DateTime widget
- Bump revision of dependent ports
Changes: https://github.com/elementary/granite/releases
Notes
Notes:
svn path=/head/; revision=489174
Diffstat (limited to 'x11-toolkits/granite/files/patch-lib_Application.vala')
-rw-r--r-- | x11-toolkits/granite/files/patch-lib_Application.vala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-toolkits/granite/files/patch-lib_Application.vala b/x11-toolkits/granite/files/patch-lib_Application.vala new file mode 100644 index 000000000000..e6153d1a69c6 --- /dev/null +++ b/x11-toolkits/granite/files/patch-lib_Application.vala @@ -0,0 +1,15 @@ +--- lib/Application.vala.orig 2018-12-17 13:02:11 UTC ++++ lib/Application.vala +@@ -157,7 +157,11 @@ namespace Granite { + message ("Kernel version: %s", (string) un.release); + Granite.Services.Logger.DisplayLevel = Granite.Services.LogLevel.WARN; + +- Intl.bindtextdomain (exec_name, build_data_dir + "/locale"); ++ Intl.setlocale (LocaleCategory.ALL, ""); ++ string langpack_dir = Path.build_path (Path.DIR_SEPARATOR_S, build_data_dir, "locale"); ++ Intl.bindtextdomain (exec_name, langpack_dir); ++ Intl.bind_textdomain_codeset (exec_name, "UTF-8"); ++ Intl.textdomain (exec_name); + + handle_local_options.connect (on_handle_local_options); + } |