[nautilus/gnome-2-28] Emit the selection-changed signal when inverting.
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-2-28] Emit the selection-changed signal when inverting.
- Date: Fri, 27 Nov 2009 13:59:59 +0000 (UTC)
commit d464b11f167a0125a17ba2555ceec99880a848fb
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Nov 2 17:27:08 2009 +0100
Emit the selection-changed signal when inverting.
Do emit the selection-changed signal in NautilusIconContainer when we
invert the selection, so that the views can update the UI items
accordingly (#600308).
(cherry picked from commit 71e7b576751c1192fe0c05529619f4c0aba674c0)
libnautilus-private/nautilus-icon-container.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index e2bbcb3..7396b82 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -7543,6 +7543,8 @@ nautilus_icon_container_invert_selection (NautilusIconContainer *container)
icon = p->data;
icon_toggle_selected (container, icon);
}
+
+ g_signal_emit (container, signals[SELECTION_CHANGED], 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]