mirror of https://github.com/GNOME/gimp.git
Revert to 1.2 behaviour of hiding rather than destroying the curves
2004-02-24 Dave Neary <bolsh@gimp.org> * app/tools/gimpcurvestool.c: Revert to 1.2 behaviour of hiding rather than destroying the curves load/save dialog. This makes the last selected curve be selected when the dialog is re-opened, and fixes bug #135059. Also append G_DIR_SEPARATOR_S to the end of the filename we build while creating the dialog, rather than ".".
This commit is contained in:
parent
53261dd845
commit
879e24fec9
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2004-02-24 Dave Neary <bolsh@gimp.org>
|
||||
|
||||
* app/tools/gimpcurvestool.c: Revert to 1.2 behaviour of hiding
|
||||
rather than destroying the curves load/save dialog. This makes
|
||||
the last selected curve be selected when the dialog is
|
||||
re-opened, and fixes bug #135059.
|
||||
|
||||
Also append G_DIR_SEPARATOR_S to the end of the filename we
|
||||
build while creating the dialog, rather than ".".
|
||||
|
||||
2004-02-24 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpfileentry.[ch]: renamed member
|
||||
|
|
|
@ -1232,7 +1232,8 @@ file_dialog_create (GimpCurvesTool *tool)
|
|||
G_CALLBACK (file_dialog_response),
|
||||
tool);
|
||||
|
||||
temp = g_build_filename (gimp_directory (), "curves", ".", NULL);
|
||||
temp = g_build_filename (gimp_directory (), "curves",
|
||||
G_DIR_SEPARATOR_S, NULL);
|
||||
gtk_file_selection_set_filename (file_dlg, temp);
|
||||
g_free (temp);
|
||||
|
||||
|
@ -1277,7 +1278,7 @@ file_dialog_response (GtkWidget *dialog,
|
|||
fclose (file);
|
||||
}
|
||||
|
||||
gtk_widget_destroy (dialog);
|
||||
gtk_widget_hide (dialog);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in New Issue