[nautilus] window: make sure to hide the main toolbar on the desktop
- From: Cosimo Cecchi <cosimoc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [nautilus] window: make sure to hide the main toolbar on the desktop
 
- Date: Fri,  8 Jun 2012 04:11:12 +0000 (UTC)
 
commit 11b05cb2c567803e3faa7a0c3344d63c397168ee
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jun 8 00:10:19 2012 -0400
    window: make sure to hide the main toolbar on the desktop
    
    Fallout from 0a80b533dc81e5175485fe6a2a13c6648c3a07f0
    	src/nautilus-file-management-properties.ui.rej
 src/nautilus-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index bd5ba5d..0dd8e0b 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1147,6 +1147,10 @@ create_toolbar (NautilusWindow *window)
 			    FALSE, FALSE, 0);
 	gtk_widget_show (toolbar);
 
+	g_object_bind_property (window, "disable-chrome",
+				toolbar, "visible",
+				G_BINDING_INVERT_BOOLEAN);
+
 	/* connect to the pathbar signals */
 	path_bar = nautilus_toolbar_get_path_bar (NAUTILUS_TOOLBAR (toolbar));
 	gtk_size_group_add_widget (header_size_group, path_bar);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]