forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
c83db6cdf0
commit
14dc863da5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user