[maemo-commits] [maemo-commits] r12270 - in projects/haf/trunk/hildon-desktop: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Jun 13 15:12:03 EEST 2007
- Previous message: [maemo-commits] r12269 - in projects/haf/trunk/hildon-1: . src
- Next message: [maemo-commits] r12271 - in projects/haf/trunk/hildon-theme-plankton: . template
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: lucasr Date: 2007-06-13 15:12:00 +0300 (Wed, 13 Jun 2007) New Revision: 12270 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c Log: 2007-06-13 Lucas Rocha <lucas.rocha at nokia.com> * src/hd-switcher-menu.c: don't add a separator on the top of application menu. Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-06-13 11:47:36 UTC (rev 12269) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-06-13 12:12:00 UTC (rev 12270) @@ -1,5 +1,10 @@ 2007-06-13 Lucas Rocha <lucas.rocha at nokia.com> + * src/hd-switcher-menu.c: don't add a separator on the top of + application menu. + +2007-06-13 Lucas Rocha <lucas.rocha at nokia.com> + * libhildondesktop/hildon-home-titlebar.c: change the titlebar text color label to "HomeTitleTextColor". Modified: projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c 2007-06-13 11:47:36 UTC (rev 12269) +++ projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c 2007-06-13 12:12:00 UTC (rev 12270) @@ -1078,7 +1078,7 @@ hd_switcher_menu_create_menu (HDSwitcherMenu *switcher, HDWM *hdwm) { GList *children = NULL, *apps = NULL, *l; - GtkWidget *separator; + GtkWidget *separator = NULL; children = hildon_desktop_popup_menu_get_children (switcher->priv->menu_applications); @@ -1138,10 +1138,13 @@ } /* append the separator for this app*/ - separator = gtk_separator_menu_item_new (); + if (l->next != NULL) + { + separator = gtk_separator_menu_item_new (); - hildon_desktop_popup_menu_add_item - (switcher->priv->menu_applications, GTK_MENU_ITEM (separator)); + hildon_desktop_popup_menu_add_item + (switcher->priv->menu_applications, GTK_MENU_ITEM (separator)); + } } g_list_free (apps); @@ -1640,4 +1643,3 @@ while (gtk_tree_model_iter_next (nm, &iter)); } } -
- Previous message: [maemo-commits] r12269 - in projects/haf/trunk/hildon-1: . src
- Next message: [maemo-commits] r12271 - in projects/haf/trunk/hildon-theme-plankton: . template
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]