[nautilus] all: remove shadows from scrolled windows and add a bottom margin
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] all: remove shadows from scrolled windows and add a bottom margin
- Date: Fri, 25 Feb 2011 02:10:05 +0000 (UTC)
commit 5df17020848a51d1211451274ae6816562d53503
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Feb 24 20:49:26 2011 -0500
all: remove shadows from scrolled windows and add a bottom margin
To better match the mockups
src/nautilus-places-sidebar.c | 2 +-
src/nautilus-view.c | 2 +-
src/nautilus-window.c | 2 ++
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index 0a4f714..05dc38b 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -2971,7 +2971,7 @@ nautilus_places_sidebar_init (NautilusPlacesSidebar *sidebar)
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (sidebar), NULL);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sidebar), GTK_SHADOW_IN);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sidebar), GTK_SHADOW_NONE);
gtk_style_context_set_junction_sides (gtk_widget_get_style_context (GTK_WIDGET (sidebar)),
GTK_JUNCTION_RIGHT | GTK_JUNCTION_LEFT);
diff --git a/src/nautilus-view.c b/src/nautilus-view.c
index 8db8f74..ebff573 100644
--- a/src/nautilus-view.c
+++ b/src/nautilus-view.c
@@ -2528,7 +2528,7 @@ nautilus_view_init (NautilusView *view)
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_hadjustment (GTK_SCROLLED_WINDOW (view), NULL);
gtk_scrolled_window_set_vadjustment (GTK_SCROLLED_WINDOW (view), NULL);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (view), GTK_SHADOW_ETCHED_IN);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (view), GTK_SHADOW_NONE);
gtk_style_context_set_junction_sides (gtk_widget_get_style_context (GTK_WIDGET (view)),
GTK_JUNCTION_TOP | GTK_JUNCTION_LEFT);
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 7c5ccbf..2b6e1ab 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -578,6 +578,8 @@ nautilus_window_constructed (GObject *self)
gtk_widget_show (table);
gtk_container_add (GTK_CONTAINER (window), table);
+ gtk_widget_set_margin_bottom (GTK_WIDGET (window), 3);
+
statusbar = gtk_statusbar_new ();
gtk_widget_set_name (statusbar, "statusbar-noborder");
window->details->statusbar = statusbar;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]