mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
only close the dialog on GTK_RESPONSE_CLOSE.
2005-08-18 Sven Neumann <sven@gimp.org> * plug-ins/common/procedure-browser.c (run): only close the dialog on GTK_RESPONSE_CLOSE.
This commit is contained in:
parent
29608a9394
commit
b80a584f9a
|
@ -1,3 +1,8 @@
|
|||
2005-08-18 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/procedure-browser.c (run): only close the dialog
|
||||
on GTK_RESPONSE_CLOSE.
|
||||
|
||||
2005-08-18 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/common/animoptimize.c
|
||||
|
|
|
@ -125,14 +125,14 @@ run (const gchar *name,
|
|||
dialog = gimp_proc_browser_dialog_new ();
|
||||
gtk_dialog_add_button (GTK_DIALOG (dialog),
|
||||
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
|
||||
gtk_dialog_run (GTK_DIALOG (dialog));
|
||||
while (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_CLOSE);
|
||||
gtk_widget_destroy (dialog);
|
||||
}
|
||||
break;
|
||||
|
||||
case GIMP_RUN_WITH_LAST_VALS:
|
||||
case GIMP_RUN_NONINTERACTIVE:
|
||||
g_warning ("dbbrowser allows only interactive invocation");
|
||||
g_warning (PLUG_IN_PROC " allows only interactive invocation");
|
||||
values[0].data.d_status = GIMP_PDB_CALLING_ERROR;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue