aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-sidebar.c10
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 <NotZed@Ximian.com>
+
+ * 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 <ettore@ximian.com>
[#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) {