[nautilus] Add border on sidebar (remove on header)
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Add border on sidebar (remove on header)
- Date: Thu, 10 Dec 2009 17:13:32 +0000 (UTC)
commit 3add7e368af3ea9f37e2f5f386543cf228b0b74f
Author: Baptiste Mille-Mathias <bmm free fr>
Date: Thu Dec 10 15:25:21 2009 +0100
Add border on sidebar (remove on header)
https://bugzilla.gnome.org/show_bug.cgi?id=499361
src/file-manager/fm-tree-view.c | 1 +
src/nautilus-emblem-sidebar.c | 2 +-
src/nautilus-history-sidebar.c | 1 +
src/nautilus-places-sidebar.c | 1 +
src/nautilus-side-pane.c | 1 +
5 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/file-manager/fm-tree-view.c b/src/file-manager/fm-tree-view.c
index 1dff466..03a1363 100644
--- a/src/file-manager/fm-tree-view.c
+++ b/src/file-manager/fm-tree-view.c
@@ -1529,6 +1529,7 @@ fm_tree_view_init (FMTreeView *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_IN);
gtk_widget_show (GTK_WIDGET (view));
diff --git a/src/nautilus-emblem-sidebar.c b/src/nautilus-emblem-sidebar.c
index 522b77f..c5f3184 100644
--- a/src/nautilus-emblem-sidebar.c
+++ b/src/nautilus-emblem-sidebar.c
@@ -872,7 +872,7 @@ nautilus_emblem_sidebar_create_container (NautilusEmblemSidebar *emblem_sidebar)
GtkWidget *emblems_table, *scroller;
/* The emblems wrapped table */
- scroller = eel_scrolled_wrap_table_new (TRUE, GTK_SHADOW_NONE, &emblems_table);
+ scroller = eel_scrolled_wrap_table_new (TRUE, GTK_SHADOW_IN, &emblems_table);
gtk_container_set_border_width (GTK_CONTAINER (emblems_table), 8);
diff --git a/src/nautilus-history-sidebar.c b/src/nautilus-history-sidebar.c
index 17d72e8..08c6a9d 100644
--- a/src/nautilus-history-sidebar.c
+++ b/src/nautilus-history-sidebar.c
@@ -268,6 +268,7 @@ nautilus_history_sidebar_init (NautilusHistorySidebar *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_container_add (GTK_CONTAINER (sidebar), GTK_WIDGET (tree_view));
gtk_widget_show (GTK_WIDGET (sidebar));
diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
index c8b0ff4..5055ecb 100644
--- a/src/nautilus-places-sidebar.c
+++ b/src/nautilus-places-sidebar.c
@@ -2429,6 +2429,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);
/* tree view */
tree_view = GTK_TREE_VIEW (gtk_tree_view_new ());
diff --git a/src/nautilus-side-pane.c b/src/nautilus-side-pane.c
index bff9dc1..baf2b4b 100644
--- a/src/nautilus-side-pane.c
+++ b/src/nautilus-side-pane.c
@@ -318,6 +318,7 @@ nautilus_side_pane_init (GObject *object)
frame = gtk_frame_new (NULL);
side_pane->details->title_frame = frame;
+ gtk_frame_set_shadow_type (GTK_FRAME(frame), GTK_SHADOW_NONE);
gtk_widget_show (frame);
gtk_box_pack_start (GTK_BOX (side_pane), frame, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]