[nautilus] window-slot: use the actual view as relative-widget



commit 50ee32a1b46f0e0dea68b57c72070247bad9b7f7
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Feb 25 10:00:16 2011 -0500

    window-slot: use the actual view as relative-widget
    
    Instead of special-casing the scrolled window in the overlay code, we
    directly set the actual view as relative-widget from the slot.

 src/nautilus-window-slot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index d430722..7428e18 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -472,7 +472,7 @@ nautilus_window_slot_set_content_view_widget (NautilusWindowSlot *slot,
 
 		g_object_set (slot->view_overlay,
 			      "relative-widget",
-			      slot->content_view,
+			      gtk_bin_get_child (GTK_BIN (slot->content_view)),
 			      NULL);
 
 		/* connect new view */



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