Merge branch 'filechooser-save-again' into 'master'

Make file chooser saving work again

See merge request GNOME/gtk!808
This commit is contained in:
Matthias Clasen 2019-05-02 01:55:28 +00:00
commit b74407a343

View File

@ -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;
}