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




commit 265a0c4988b64fca5e5840c8dc7ebac6836edbe9
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 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


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