summaryrefslogtreecommitdiff
path: root/src/caja-spatial-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/caja-spatial-window.c')
-rw-r--r--src/caja-spatial-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-spatial-window.c b/src/caja-spatial-window.c
index 50e00a2d..5fcb39fb 100644
--- a/src/caja-spatial-window.c
+++ b/src/caja-spatial-window.c
@@ -1045,7 +1045,9 @@ caja_spatial_window_init (CajaSpatialWindow *window)
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
action_group = gtk_action_group_new ("SpatialActions");
+#ifdef ENABLE_NLS
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
window->details->spatial_action_group = action_group;
gtk_action_group_add_actions (action_group,
spatial_entries, G_N_ELEMENTS (spatial_entries),