diff options
author | Not Zed <NotZed@Ximian.com> | 2003-12-11 08:04:57 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-12-11 08:04:57 +0800 |
commit | 61b53f116a44cf568e14da954168ff601af2afd6 (patch) | |
tree | c8d97ae9e29019b3c716c1177af116a464b2b1ce /shell/e-sidebar.c | |
parent | 95fc38d6d8425f8096d585650d487eae78a5faaf (diff) | |
download | gsoc2013-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/e-sidebar.c')
-rw-r--r-- | shell/e-sidebar.c | 10 |
1 files changed, 4 insertions, 6 deletions
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) { |