summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-08-07 21:11:37 -0700
committerCorey Berla <corey@berla.me>2022-08-08 21:37:53 +0000
commite2c05c6144b2fe6de88d07d2c7b048531b13d412 (patch)
tree7b3b01f20004c4b67ab197d612135deb4ed5521e
parentcf5f52ab9aeffcfeb7d2a4e2339d0dafb2463c4a (diff)
downloadnautilus-e2c05c6144b2fe6de88d07d2c7b048531b13d412.tar.gz
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.
-rw-r--r--src/nautilus-app-chooser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nautilus-app-chooser.c b/src/nautilus-app-chooser.c
index cf78ff038..d14ae08d9 100644
--- a/src/nautilus-app-chooser.c
+++ b/src/nautilus-app-chooser.c
@@ -82,7 +82,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