summaryrefslogtreecommitdiff
path: root/plugins/reload
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-25 19:46:32 +0100
committerraveit65 <[email protected]>2021-02-05 21:36:53 +0100
commit8a653210e2ecf00c11bd8cdf44af2d8c4814fadf (patch)
tree78693278cad2311662a583f6a0b6565ec395a292 /plugins/reload
parentafd8f48f9b71f68953bc8e6bf4859031475aee0f (diff)
downloadeom-8a653210e2ecf00c11bd8cdf44af2d8c4814fadf.tar.bz2
eom-8a653210e2ecf00c11bd8cdf44af2d8c4814fadf.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'plugins/reload')
-rw-r--r--plugins/reload/eom-reload-plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/reload/eom-reload-plugin.c b/plugins/reload/eom-reload-plugin.c
index 1f22eb2..e69b341 100644
--- a/plugins/reload/eom-reload-plugin.c
+++ b/plugins/reload/eom-reload-plugin.c
@@ -119,7 +119,9 @@ eom_reload_plugin_activate (EomWindowActivatable *activatable)
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
plugin->ui_action_group = gtk_action_group_new ("EomReloadPluginActions");
+#ifdef ENABLE_NLS
gtk_action_group_set_translation_domain (plugin->ui_action_group, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
gtk_action_group_add_actions (plugin->ui_action_group, action_entries,
G_N_ELEMENTS (action_entries), plugin->window);