Commit 14dc863d authored by Matthias Clasen's avatar Matthias Clasen

GtkAppChooserButton: Make activating rows work as expected

When a row is activated in the 'Other...' dialog, we have
to make sure the dialog goes away.
parent c83db6cd
......@@ -214,6 +214,8 @@ other_application_dialog_response_cb (GtkDialog *dialog,
info = gtk_app_chooser_get_app_info (GTK_APP_CHOOSER (dialog));
gtk_widget_destroy (GTK_WIDGET (dialog));
/* refresh the combobox to get the new application */
gtk_app_chooser_refresh (GTK_APP_CHOOSER (self));
gtk_app_chooser_button_select_application (self, info);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment