mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
Merge branch 'error-log-to-file-twice' into 'master'
Draft: app: allow saving to file multiple times in Error console Closes #10828 See merge request GNOME/gimp!1465
This commit is contained in:
commit
08b2529263
1 changed files with 3 additions and 3 deletions
|
@ -90,6 +90,8 @@ error_console_save_cmd_callback (GimpAction *action,
|
|||
return;
|
||||
}
|
||||
|
||||
console->save_selection = selection;
|
||||
|
||||
if (! console->file_dialog)
|
||||
{
|
||||
GtkWidget *dialog;
|
||||
|
@ -109,8 +111,6 @@ error_console_save_cmd_callback (GimpAction *action,
|
|||
GTK_RESPONSE_CANCEL,
|
||||
-1);
|
||||
|
||||
console->save_selection = selection;
|
||||
|
||||
g_set_weak_pointer (&console->file_dialog, dialog);
|
||||
|
||||
gtk_window_set_screen (GTK_WINDOW (dialog),
|
||||
|
@ -201,5 +201,5 @@ error_console_save_response (GtkWidget *dialog,
|
|||
g_object_unref (file);
|
||||
}
|
||||
|
||||
gtk_widget_destroy (dialog);
|
||||
gtk_widget_set_visible (dialog, FALSE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue