summaryrefslogtreecommitdiff
path: root/typing-break/drwright.c
diff options
context:
space:
mode:
Diffstat (limited to 'typing-break/drwright.c')
-rw-r--r--typing-break/drwright.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/typing-break/drwright.c b/typing-break/drwright.c
index b4f1b368..b43cc631 100644
--- a/typing-break/drwright.c
+++ b/typing-break/drwright.c
@@ -869,7 +869,9 @@ drwright_new (void)
dr->ui_manager = gtk_ui_manager_new ();
action_group = gtk_action_group_new ("MenuActions");
+#ifdef ENABLE_NLS
gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE);
+#endif /* ENABLE_NLS */
gtk_action_group_add_actions (action_group, actions, G_N_ELEMENTS (actions), dr);
gtk_ui_manager_insert_action_group (dr->ui_manager, action_group, 0);
gtk_ui_manager_add_ui_from_string (dr->ui_manager, ui_description, -1, NULL);