aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-12-11 08:04:57 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-12-11 08:04:57 +0800
commit61b53f116a44cf568e14da954168ff601af2afd6 (patch)
treec8d97ae9e29019b3c716c1177af116a464b2b1ce /shell
parent95fc38d6d8425f8096d585650d487eae78a5faaf (diff)
downloadgsoc2013-evolution-61b53f116a44cf568e14da954168ff601af2afd6.tar.gz
gsoc2013-evolution-61b53f116a44cf568e14da954168ff601af2afd6.tar.zst
gsoc2013-evolution-61b53f116a44cf568e14da954168ff601af2afd6.zip
remove padding around the folder list. (impl_size_request): don't add
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. svn path=/trunk/; revision=23917
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) {