[gimp] plug-ins: tiff-load call gimp_ui_init when run interactively
- From: Massimo Valentini <mvalentini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: tiff-load call gimp_ui_init when run interactively
- Date: Mon, 16 Jun 2014 17:40:38 +0000 (UTC)
commit 3b746e9a687f3b8de49ec77cca10616a55ed1fd9
Author: Massimo Valentini <mvalentini src gnome org>
Date: Mon Jun 16 19:33:23 2014 +0200
plug-ins: tiff-load call gimp_ui_init when run interactively
plug-ins/common/file-tiff-load.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index 5b74d95..a26978a 100644
--- a/plug-ins/common/file-tiff-load.c
+++ b/plug-ins/common/file-tiff-load.c
@@ -257,6 +257,8 @@ run (const gchar *name,
run_it = TRUE;
}
+ else
+ gimp_ui_init (PLUG_IN_BINARY, FALSE);
if (pages.n_pages == 1)
{
@@ -452,8 +454,6 @@ load_dialog (TIFF *tif,
gint i;
gboolean run;
- gimp_ui_init (PLUG_IN_BINARY, FALSE);
-
dialog = gimp_dialog_new (_("Import from TIFF"), PLUG_IN_ROLE,
NULL, 0,
gimp_standard_help_func, LOAD_PROC,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]