[nautilus/wip/coreyberla/app-chooser-fixes: 4/9] app-chooser: Don't refresh the app chooser list




commit b60290224e4e253d8660780f3a88a1b105bf8657
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 | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/nautilus-app-chooser.c b/src/nautilus-app-chooser.c
index 8b55c3a43..47b294c02 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]