From 61b53f116a44cf568e14da954168ff601af2afd6 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 11 Dec 2003 00:04:57 +0000 Subject: remove padding around the folder list. (impl_size_request): don't add 2003-12-11 Not Zed * e-sidebar.c (do_layout): remove padding around the folder list. (impl_size_request): don't add padding around folder list. svn path=/trunk/; revision=23917 --- shell/ChangeLog | 5 +++++ shell/e-sidebar.c | 10 ++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index ce4afb9b3d..23d3b8eacd 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2003-12-11 Not Zed + + * e-sidebar.c (do_layout): remove padding around the folder list. + (impl_size_request): don't add padding around folder list. + 2003-12-09 Ettore Perazzoli [#51710] diff --git a/shell/e-sidebar.c b/shell/e-sidebar.c index 5636716b32..2e8f1a3fd4 100644 --- a/shell/e-sidebar.c +++ b/shell/e-sidebar.c @@ -217,10 +217,10 @@ do_layout (ESidebar *sidebar) { GtkAllocation child_allocation; - child_allocation.x = allocation->x + PADDING; - child_allocation.y = allocation->y + PADDING; - child_allocation.width = allocation->width - PADDING * 2; - child_allocation.height = y - allocation->y - PADDING; + child_allocation.x = allocation->x; + child_allocation.y = allocation->y; + child_allocation.width = allocation->width; + child_allocation.height = y - allocation->y; gtk_widget_size_allocate (sidebar->priv->selection_widget, & child_allocation); } @@ -292,8 +292,6 @@ impl_size_request (GtkWidget *widget, requisition->height = 2 * PADDING; } else { gtk_widget_size_request (sidebar->priv->selection_widget, requisition); - requisition->width += 2 * PADDING; - requisition->height += 2 * PADDING; } for (p = sidebar->priv->buttons; p != NULL; p = p->next) { -- cgit