[nautilus] all: set some junctions to better fit the mockup
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] all: set some junctions to better fit the mockup
- Date: Thu, 17 Feb 2011 16:33:30 +0000 (UTC)
commit c4060407ef76d2566d02cd6dacf06381585ace17
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Feb 16 17:51:38 2011 -0500
all: set some junctions to better fit the mockup
src/nautilus-places-sidebar.c | 3 +++
src/nautilus-view.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index a9038e3..88aee41 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -2951,6 +2951,9 @@ nautilus_places_sidebar_init (NautilusPlacesSidebar *sidebar)
gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sidebar), GTK_SHADOW_IN);
+ gtk_style_context_set_junction_sides (gtk_widget_get_style_context (GTK_WIDGET (sidebar)),
+ GTK_JUNCTION_RIGHT | GTK_JUNCTION_LEFT);
+
/* tree view */
tree_view = GTK_TREE_VIEW (gtk_tree_view_new ());
gtk_tree_view_set_headers_visible (tree_view, FALSE);
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 2724590..229228c 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -2546,7 +2546,7 @@ nautilus_view_init (NautilusView *view)
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (view), GTK_SHADOW_ETCHED_IN);
gtk_style_context_set_junction_sides (gtk_widget_get_style_context (GTK_WIDGET (view)),
- GTK_JUNCTION_TOP);
+ GTK_JUNCTION_TOP | GTK_JUNCTION_LEFT);
set_up_scripts_directory_global ();
scripts_directory = nautilus_directory_get_by_uri (scripts_directory_uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]