[maemo-commits] [maemo-commits] r13610 - in projects/haf/trunk/hildon-desktop: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Sep 5 16:49:27 EEST 2007
- Previous message: [maemo-commits] r13609 - in projects/haf/trunk/hildon-desktop: . libhildondesktop src
- Next message: [maemo-commits] r13612 - in projects/haf/trunk/hildon-desktop: . libhildonwm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: lucasr Date: 2007-09-05 16:49:26 +0300 (Wed, 05 Sep 2007) New Revision: 13610 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c Log: 2007-09-05 Lucas Rocha <lucas.rocha at nokia.com> * src/hd-switcher-menu.c (hd_switcher_menu_changed_info_cb): fix regression bug on defining whether to blink icon in switcher menu button or not. Fixes: NB#68371. Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-09-05 13:40:58 UTC (rev 13609) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-09-05 13:49:26 UTC (rev 13610) @@ -1,3 +1,9 @@ +2007-09-05 Lucas Rocha <lucas.rocha at nokia.com> + + * src/hd-switcher-menu.c (hd_switcher_menu_changed_info_cb): fix + regression bug on defining whether to blink icon in switcher menu + button or not. Fixes: NB#68371. + 2007-09-05 Moises Martinez <moises.martinez at nokia.com> * libhildondesktop/hildon-desktop-panel-expandable.c: Modified: projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c 2007-09-05 13:40:58 UTC (rev 13609) +++ projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c 2007-09-05 13:49:26 UTC (rev 13610) @@ -1935,7 +1935,7 @@ { GtkWidget *menu_item = NULL; GList *children = NULL, *apps = NULL, *l; - gint pos=0; + gint pos = 0; gboolean make_it_blink = FALSE; if (!info) @@ -1961,14 +1961,9 @@ if (iter_info == info) break; } - else - { - continue; - } - } - if (pos >= SWITCHER_N_SLOTS) + if (pos > SWITCHER_N_SLOTS) make_it_blink = TRUE; } else @@ -1992,15 +1987,15 @@ iter_children = g_list_next (iter_children)) { if (iter_children->data == info) - break; + break; } - if (!iter_children) + if (iter_children) break; - } + } } - if (pos >= SWITCHER_N_SLOTS) + if (pos > SWITCHER_N_SLOTS) make_it_blink = TRUE; }
- Previous message: [maemo-commits] r13609 - in projects/haf/trunk/hildon-desktop: . libhildondesktop src
- Next message: [maemo-commits] r13612 - in projects/haf/trunk/hildon-desktop: . libhildonwm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]