forked from AuroraMiddleware/gtk
Make file chooser saving work again
I was a little overzealous when going for the new default handling here. We can't switch to gtk_widget_activate_default before we actually handle the default.activate action.
This commit is contained in:
parent
78d254370c
commit
6e0b13b81f
@ -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