new function gimp_dialog_hide() that calls gdk_window_withdraw() after

gtk_widget_hide() so dialogs actually go away even if the user iconified
them before. Should fix bugs #2961, #5293, #6441 and #7849.


--Sven
This commit is contained in:
Sven Neumann
2000-03-28 23:02:05 +00:00
parent db7d885ee3
commit b7940e1ebf
40 changed files with 177 additions and 171 deletions

View File

@ -421,9 +421,8 @@ threshold_ok_callback (GtkWidget *widget,
td = (ThresholdDialog *) data;
if (GTK_WIDGET_VISIBLE (td->shell))
gtk_widget_hide (td->shell);
gimp_dialog_hide (td->shell);
active_tool->preserve = TRUE;
if (!td->preview)
@ -448,8 +447,7 @@ threshold_cancel_callback (GtkWidget *widget,
td = (ThresholdDialog *) data;
if (GTK_WIDGET_VISIBLE (td->shell))
gtk_widget_hide (td->shell);
gimp_dialog_hide (td->shell);
if (td->image_map)
{