Bug 677974 - GIMP suggests XCF as default export format
Only auto-add .xcf if it's a save (not an export) dialog, instead do not auto-add anything and ask the user to enter an extension, that's less mysterious than saving in the last-exported format which the user maybe doesn't remember or want.
This commit is contained in:
@ -305,11 +305,11 @@ file_save_dialog_check_uri (GtkWidget *save_dialog,
|
||||
|
||||
GIMP_LOG (SAVE_DIALOG, "basename has no '.', trying to add extension");
|
||||
|
||||
if (! save_proc)
|
||||
if (! save_proc && ! dialog->export)
|
||||
{
|
||||
ext = "xcf";
|
||||
}
|
||||
else if (save_proc->extensions_list)
|
||||
else if (save_proc && save_proc->extensions_list)
|
||||
{
|
||||
ext = save_proc->extensions_list->data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user