summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-12-25 23:40:53 +0100
committerGravatar Nikias Bassen2009-12-25 23:40:53 +0100
commit30aa6a6fd056fabefb0e4c3209a2bc3569d9b488 (patch)
tree51ade11b506526fcfbe940e5fa74a6ed957f76b5 /src
parent44d5beeaea217a07fa29fbada8f34fa7b1f5cfc2 (diff)
downloadsbmanager-30aa6a6fd056fabefb0e4c3209a2bc3569d9b488.tar.gz
sbmanager-30aa6a6fd056fabefb0e4c3209a2bc3569d9b488.tar.bz2
Fix icon alignment on multiple pages
Diffstat (limited to 'src')
-rw-r--r--src/sbmanager.c2
1 files changed, 1 insertions, 1 deletions
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);
}