diff options
author | rbuj <[email protected]> | 2021-01-23 13:52:08 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-07 21:38:35 +0100 |
commit | 6de5a2680760436fe15ee16ed530f23ef1ced33a (patch) | |
tree | be4c64c279750dab39534f9963ef228c3246fd24 /src/file-manager/fm-list-view.c | |
parent | cb9ed81342334d3ef5dde43a60ab0325930a2874 (diff) | |
download | caja-6de5a2680760436fe15ee16ed530f23ef1ced33a.tar.bz2 caja-6de5a2680760436fe15ee16ed530f23ef1ced33a.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'src/file-manager/fm-list-view.c')
-rw-r--r-- | src/file-manager/fm-list-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index e544cdd8..39e4bcdb 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -2648,7 +2648,9 @@ fm_list_view_merge_menus (FMDirectoryView *view) G_GNUC_BEGIN_IGNORE_DEPRECATIONS; action_group = gtk_action_group_new ("ListViewActions"); +#ifdef ENABLE_NLS gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ list_view->details->list_action_group = action_group; gtk_action_group_add_actions (action_group, list_view_entries, G_N_ELEMENTS (list_view_entries), |