[nautilus/wip/coreyberla/app-chooser-fixes: 3/6] app-chooser: Don't refresh the app chooser list
- From: Corey Berla <coreyberla src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/coreyberla/app-chooser-fixes: 3/6] app-chooser: Don't refresh the app chooser list
- Date: Mon, 8 Aug 2022 04:29:19 +0000 (UTC)
commit 801107291c4f51cb671f167a3725b21ea9831942
Author: Corey Berla <corey berla me>
Date: Sun Aug 7 21:11:37 2022 -0700
app-chooser: Don't refresh the app chooser list
We used to refresh the app chooser list when we allowed for the
"Set Default" or "Reset" buttons. Now we only changed the defaults
*after* clicking the "Open" button. Refreshing the list could
change the selection and cause incorrect behavior.
src/nautilus-app-chooser.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/nautilus-app-chooser.c b/src/nautilus-app-chooser.c
index 19de95977..18c1dcdad 100644
--- a/src/nautilus-app-chooser.c
+++ b/src/nautilus-app-chooser.c
@@ -66,7 +66,6 @@ open_button_clicked_cb (GtkButton *button,
else
{
g_app_info_reset_type_associations (self->content_type);
- gtk_app_chooser_refresh (GTK_APP_CHOOSER (self->app_chooser_widget));
g_signal_emit_by_name (nautilus_signaller_get_current (), "mime-data-changed");
}
@@ -84,7 +83,6 @@ open_button_clicked_cb (GtkButton *button,
gtk_window_present (GTK_WINDOW (message_dialog));
}
- gtk_app_chooser_refresh (GTK_APP_CHOOSER (self->app_chooser_widget));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]