mirror of https://github.com/GNOME/gimp.git
Revert "app: Move last-save URI management to file_save()"
This reverts commit f6cd700dd6
. We
can't save the last-save-URI on such a low level.
This commit is contained in:
parent
f6cd700dd6
commit
82d327a550
|
@ -141,6 +141,10 @@ file_save_dialog_response (GtkWidget *save_dialog,
|
|||
dialog->save_a_copy,
|
||||
FALSE))
|
||||
{
|
||||
g_object_set_data_full (G_OBJECT (dialog->image->gimp),
|
||||
GIMP_FILE_SAVE_LAST_URI_KEY,
|
||||
g_strdup (uri), (GDestroyNotify) g_free);
|
||||
|
||||
if (dialog)
|
||||
{
|
||||
GtkWindow *parent;
|
||||
|
|
|
@ -154,10 +154,6 @@ file_save (Gimp *gimp,
|
|||
GimpDocumentList *documents;
|
||||
GimpImagefile *imagefile;
|
||||
|
||||
/* Store the URI of the last successfully saved image */
|
||||
g_object_set_data_full (G_OBJECT (gimp),
|
||||
GIMP_FILE_SAVE_LAST_URI_KEY,
|
||||
g_strdup (uri), (GDestroyNotify) g_free);
|
||||
if (save_a_copy)
|
||||
{
|
||||
/* remember the "save-a-copy" filename for the next invocation */
|
||||
|
|
Loading…
Reference in New Issue