summaryrefslogtreecommitdiff
path: root/src/caja-navigation-window-menus.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-23 13:52:08 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:50 +0200
commit92f751b2ae5a3bf90e39434255fec503cf471be7 (patch)
treec4005557f4376a3de2cefdc5af65f80e512ac514 /src/caja-navigation-window-menus.c
parent77ae01b92666ab5554b168cf207ce37ded4deb2e (diff)
downloadcaja-92f751b2ae5a3bf90e39434255fec503cf471be7.tar.bz2
caja-92f751b2ae5a3bf90e39434255fec503cf471be7.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'src/caja-navigation-window-menus.c')
-rw-r--r--src/caja-navigation-window-menus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-navigation-window-menus.c b/src/caja-navigation-window-menus.c
index 2206c356..44257d05 100644
--- a/src/caja-navigation-window-menus.c
+++ b/src/caja-navigation-window-menus.c
@@ -946,7 +946,9 @@ caja_navigation_window_initialize_actions (CajaNavigationWindow *window)
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action_group = gtk_action_group_new ("NavigationActions");
+#ifdef ENABLE_NLS
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
window->details->navigation_action_group = action_group;
gtk_action_group_add_actions (action_group,
navigation_entries, G_N_ELEMENTS (navigation_entries),