diff --git a/ChangeLog b/ChangeLog index c126d65a4c..cd3f6b0eee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ +2003-06-06 Sven Neumann + + * plug-ins/common/CML_explorer.c (CML_save_to_file_callback): use + gtk_window_present() instead of reimplementing its functionality. + 2003-06-06 Maurits - * plug-ins/script-fu/scripts/old-photo.scm: fix for #114496 (Script-Fu: - Old Photo can't be completely undone) + * plug-ins/script-fu/scripts/old-photo.scm: fix for #114496 + (Script-Fu: Old Photo can't be completely undone) * plug-ins/common/CML_explorer.c: fix for #83947 (CML explorer: multiple instantiations of Load Parameters dialog) diff --git a/plug-ins/common/CML_explorer.c b/plug-ins/common/CML_explorer.c index 20f8c0f721..af93b762d4 100644 --- a/plug-ins/common/CML_explorer.c +++ b/plug-ins/common/CML_explorer.c @@ -2104,14 +2104,12 @@ CML_save_to_file_callback (GtkWidget *widget, gimp_help_connect (filesel, gimp_standard_help_func, "filters/cml_explorer.html"); } + if (strlen (VALS.last_file_name) > 0) gtk_file_selection_set_filename (GTK_FILE_SELECTION (filesel), VALS.last_file_name); - if (GTK_WIDGET_VISIBLE (filesel)) - gdk_window_raise (filesel->window); - else - gtk_widget_show (filesel); + gtk_window_present (GTK_WINDOW (filesel)); } static void