summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 640932c2..37dbb4ee 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -1423,7 +1423,9 @@ load_view_as_menu (CajaWindow *window)
window->details->short_list_merge_id = merge_id;
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
window->details->view_as_action_group = gtk_action_group_new ("ViewAsGroup");
+#ifdef ENABLE_NLS
gtk_action_group_set_translation_domain (window->details->view_as_action_group, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
G_GNUC_END_IGNORE_DEPRECATIONS;
window->details->view_as_radio_action = NULL;