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-desktop-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-desktop-icon-view.c')
-rw-r--r-- | src/file-manager/fm-desktop-icon-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file-manager/fm-desktop-icon-view.c b/src/file-manager/fm-desktop-icon-view.c index ff0fc8eb..5decd45c 100644 --- a/src/file-manager/fm-desktop-icon-view.c +++ b/src/file-manager/fm-desktop-icon-view.c @@ -803,7 +803,9 @@ real_merge_menus (FMDirectoryView *view) G_GNUC_BEGIN_IGNORE_DEPRECATIONS; action_group = gtk_action_group_new ("DesktopViewActions"); +#ifdef ENABLE_NLS gtk_action_group_set_translation_domain (action_group, GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ desktop_view->priv->desktop_action_group = action_group; gtk_action_group_add_actions (action_group, desktop_view_entries, G_N_ELEMENTS (desktop_view_entries), |