From 30aa6a6fd056fabefb0e4c3209a2bc3569d9b488 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 25 Dec 2009 23:40:53 +0100 Subject: Fix icon alignment on multiple pages --- src/sbmanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbmanager.c b/src/sbmanager.c index 87d0b30..c3bbb95 100644 --- a/src/sbmanager.c +++ b/src/sbmanager.c @@ -704,7 +704,7 @@ static gboolean stage_motion(ClutterActor *actor, ClutterMotionEvent *event, gpo } else { printf("regular icon is moving!\n"); pageitems = - insert_into_icon_list(pageitems, selected_item, (center_x - sb_area.x1), (center_y - sb_area.y1)); + insert_into_icon_list(pageitems, selected_item, (center_x - sb_area.x1) + (current_page * STAGE_WIDTH), (center_y - sb_area.y1)); } sbpages = g_list_insert(sbpages, pageitems, current_page); } -- cgit v1.1-32-gdbae