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




commit 14d5360c681cd05682632d59f488414b5d9f6492
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 215b82b39..6834826ba 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -384,8 +384,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]