diff options
author | rbuj <[email protected]> | 2021-01-23 13:52:08 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-21 19:33:50 +0200 |
commit | 92f751b2ae5a3bf90e39434255fec503cf471be7 (patch) | |
tree | c4005557f4376a3de2cefdc5af65f80e512ac514 /src/file-manager/fm-icon-view.c | |
parent | 77ae01b92666ab5554b168cf207ce37ded4deb2e (diff) | |
download | caja-92f751b2ae5a3bf90e39434255fec503cf471be7.tar.bz2 caja-92f751b2ae5a3bf90e39434255fec503cf471be7.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'src/file-manager/fm-icon-view.c')
-rw-r--r-- | src/file-manager/fm-icon-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c index 4af14ea6..1c600fa9 100644 --- a/src/file-manager/fm-icon-view.c +++ b/src/file-manager/fm-icon-view.c @@ -1822,7 +1822,9 @@ fm_icon_view_merge_menus (FMDirectoryView *view) G_GNUC_BEGIN_IGNORE_DEPRECATIONS; action_group = gtk_action_group_new ("IconViewActions"); +#ifdef ENABLE_NLS gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ icon_view->details->icon_action_group = action_group; gtk_action_group_add_actions (action_group, icon_view_entries, G_N_ELEMENTS (icon_view_entries), |