diff options
author | rbuj <[email protected]> | 2021-01-25 19:46:32 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-05 21:36:53 +0100 |
commit | 8a653210e2ecf00c11bd8cdf44af2d8c4814fadf (patch) | |
tree | 78693278cad2311662a583f6a0b6565ec395a292 /src/eom-save-as-dialog-helper.c | |
parent | afd8f48f9b71f68953bc8e6bf4859031475aee0f (diff) | |
download | eom-8a653210e2ecf00c11bd8cdf44af2d8c4814fadf.tar.bz2 eom-8a653210e2ecf00c11bd8cdf44af2d8c4814fadf.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'src/eom-save-as-dialog-helper.c')
-rw-r--r-- | src/eom-save-as-dialog-helper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eom-save-as-dialog-helper.c b/src/eom-save-as-dialog-helper.c index 537243f..24f472f 100644 --- a/src/eom-save-as-dialog-helper.c +++ b/src/eom-save-as-dialog-helper.c @@ -207,7 +207,9 @@ eom_save_as_dialog_new (GtkWindow *main, GList *images, GFile *base_file) GtkWidget *label; xml = gtk_builder_new_from_resource ("/org/mate/eom/ui/eom-multiple-save-as-dialog.ui"); +#ifdef ENABLE_NLS gtk_builder_set_translation_domain (xml, GETTEXT_PACKAGE); +#endif /* ENABLE_NLS */ dlg = GTK_WIDGET (g_object_ref (gtk_builder_get_object (xml, "eom_multiple_save_as_dialog"))); gtk_window_set_transient_for (GTK_WINDOW (dlg), GTK_WINDOW (main)); |