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




commit a8cff6d4b5c32bce07c4baf6b350a9a2791d35a3
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]