summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-ui-utilities.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-ui-utilities.c')
-rw-r--r--libcaja-private/caja-ui-utilities.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcaja-private/caja-ui-utilities.c b/libcaja-private/caja-ui-utilities.c
index 1b621777..9b184164 100644
--- a/libcaja-private/caja-ui-utilities.c
+++ b/libcaja-private/caja-ui-utilities.c
@@ -63,7 +63,9 @@ caja_ui_prepare_merge_ui (GtkUIManager *ui_manager,
*merge_id = gtk_ui_manager_new_merge_id (ui_manager);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
*action_group = gtk_action_group_new (name);
+#ifdef ENABLE_NLS
gtk_action_group_set_translation_domain (*action_group, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
G_GNUC_END_IGNORE_DEPRECATIONS;
gtk_ui_manager_insert_action_group (ui_manager, *action_group, 0);
g_object_unref (*action_group); /* owned by ui manager */