[nautilus] Set right slot in active pane state for new views



commit cf1e32162affc91b5b3a2ca934c0dee45e3f1a2e
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Dec 17 16:31:54 2009 +0100

    Set right slot in active pane state for new views

 src/nautilus-window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index b1cf33e..38df1e6 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -671,6 +671,9 @@ nautilus_window_view_visible (NautilusWindow *window,
 
 	slot = nautilus_window_get_slot_for_view (window, view);
 
+	/* Ensure we got the right active state for newly added panes */
+	nautilus_window_slot_is_in_active_pane (slot, slot->pane->is_active);
+
 	if (slot->visible) {
 		return;
 	}



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