[nautilus/wip/antoniof/new-list-view: 7/19] view-icon-controller: Don't notify FilesView twice




commit 9b93091972c3a1d98aed06b450b0cb532296b723
Author: António Fernandes <antoniof gnome org>
Date:   Thu Feb 10 12:56:31 2022 +0000

    view-icon-controller: Don't notify FilesView twice
    
    We already notify selection changes by listening to the selection model
    signal.

 src/nautilus-view-icon-controller.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/nautilus-view-icon-controller.c b/src/nautilus-view-icon-controller.c
index f0e3d96ac..2d5ff7746 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -387,8 +387,6 @@ real_set_selection (NautilusFilesView *files_view,
     gtk_selection_model_set_selection (GTK_SELECTION_MODEL (self->model),
                                        selection_set,
                                        update_set);
-
-    nautilus_files_view_notify_selection_changed (files_view);
 }
 
 static void


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