mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +00:00
Merge branch 'filechooser-save-again' into 'master'
Make file chooser saving work again See merge request GNOME/gtk!808
This commit is contained in:
commit
b74407a343
@ -395,9 +395,16 @@ static void
|
||||
file_chooser_widget_response_requested (GtkWidget *widget,
|
||||
GtkFileChooserDialog *dialog)
|
||||
{
|
||||
GtkWidget *button;
|
||||
|
||||
dialog->priv->response_requested = TRUE;
|
||||
|
||||
gtk_widget_activate_default (widget);
|
||||
button = get_accept_action_widget (GTK_DIALOG (dialog), TRUE);
|
||||
if (button)
|
||||
{
|
||||
gtk_widget_activate (button);
|
||||
return;
|
||||
}
|
||||
|
||||
dialog->priv->response_requested = FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user