[maemo-commits] [maemo-commits] r11584 - in projects/haf/trunk/hildon-desktop: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu May 10 18:11:14 EEST 2007
- Previous message: [maemo-commits] r11582 - in projects/haf/trunk/hildon-desktop: . libhildondesktop src
- Next message: [maemo-commits] r11585 - in projects/haf/trunk/hildon-theme-layout-4: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart Date: 2007-05-10 18:11:12 +0300 (Thu, 10 May 2007) New Revision: 11584 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c Log: * src/hd-switcher-menu.c: - Order of the stacking fixed. * ChangeLog updated. Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-05-10 15:02:38 UTC (rev 11583) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-05-10 15:11:12 UTC (rev 11584) @@ -1,6 +1,11 @@ 2007-05-10 Moises Martinez <moises.martinez at nokia.com> * src/hd-switcher-menu.c: + - Order of the stacking fixed. + +2007-05-10 Moises Martinez <moises.martinez at nokia.com> + + * src/hd-switcher-menu.c: - Implemented jumping from pane to pane. Unfortunately you cannot jump to menu item at same height. * libhildondesktop/hildon-desktop-popup-menu.[ch]: Modified: projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c 2007-05-10 15:02:38 UTC (rev 11583) +++ projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c 2007-05-10 15:11:12 UTC (rev 11584) @@ -842,7 +842,7 @@ static void hd_switcher_menu_create_menu (HDSwitcherMenu *switcher, HDWM *hdwm) { - GList *children = NULL, *l; + GList *children = NULL, *apps = NULL, *l; GtkWidget *separator; children = @@ -865,7 +865,9 @@ g_list_free (children); - for (l = hd_wm_get_applications (hdwm); l != NULL; l = l->next) + apps = g_list_reverse (g_list_copy (hd_wm_get_applications (hdwm))); + + for (l = apps; l != NULL; l = l->next) { GtkWidget *menu_item; const GList * children = hd_entry_info_get_children(l->data); @@ -873,7 +875,7 @@ for (child = children; child != NULL; child = child->next) { - if (l == hd_wm_get_applications (hdwm) && child == children) + if (l == apps && child == children) { separator = gtk_separator_menu_item_new (); @@ -907,6 +909,8 @@ (switcher->priv->menu_applications, GTK_MENU_ITEM (separator)); } + g_list_free (apps); + hd_switcher_menu_check_content (switcher); }
- Previous message: [maemo-commits] r11582 - in projects/haf/trunk/hildon-desktop: . libhildondesktop src
- Next message: [maemo-commits] r11585 - in projects/haf/trunk/hildon-theme-layout-4: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]