aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-sidebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-sidebar.c')
-rw-r--r--shell/e-sidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-sidebar.c b/shell/e-sidebar.c
index ef891eeb2a..d4362066c6 100644
--- a/shell/e-sidebar.c
+++ b/shell/e-sidebar.c
@@ -213,7 +213,7 @@ do_layout_text_buttons (ESidebar *sidebar)
int len, extra_width;
y -= max_btn_height;
- x = H_PADDING;
+ x = H_PADDING + allocation->x;
len = g_slist_length (rows[i]);
extra_width = (allocation->width - (len * max_btn_width ) - (len * H_PADDING)) / len;
for (p = rows [i]; p != NULL; p = p->next) {