summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-01-03 16:33:12 +0100
committerGravatar Martin Szulecki2010-01-03 16:33:12 +0100
commit6b60c3fbad95f17480c9425d804f4c0fe5cfb2d4 (patch)
tree069f648a79a558e393ae61699bbe2d26e9610715
parentbcb64bfab3f5ff05092f438a543c78e67c1776e0 (diff)
downloadsbmanager-6b60c3fbad95f17480c9425d804f4c0fe5cfb2d4.tar.gz
sbmanager-6b60c3fbad95f17480c9425d804f4c0fe5cfb2d4.tar.bz2
Make sure to align icons on page switch, too
-rw-r--r--src/sbmanager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c
index 6949946..a2b91bb 100644
--- a/src/sbmanager.c
+++ b/src/sbmanager.c
@@ -732,11 +732,15 @@ static void gui_set_current_page(int pageindex)
static void gui_show_next_page()
{
+ /* make sure the page has correct aligned icons */
+ gui_page_align_icons(current_page+1, FALSE);
gui_set_current_page(current_page+1);
}
static void gui_show_previous_page()
{
+ /* make sure the page has correct aligned icons */
+ gui_page_align_icons(current_page-1, FALSE);
gui_set_current_page(current_page-1);
}