[maemo-commits] [maemo-commits] r13200 - in projects/haf/trunk/hildon-desktop: . libhildonwm src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Aug 15 14:58:56 EEST 2007
- Previous message: [maemo-commits] r13199 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
- Next message: [maemo-commits] r13201 - in projects/haf/trunk/hildon-desktop: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: lucasr Date: 2007-08-15 14:58:52 +0300 (Wed, 15 Aug 2007) New Revision: 13200 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c projects/haf/trunk/hildon-desktop/src/hd-applications-menu.c projects/haf/trunk/hildon-desktop/src/hd-home-window.c projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c projects/haf/trunk/hildon-desktop/src/hn-app-button.c Log: 2007-08-15 Lucas Rocha <lucas.rocha at nokia.com> * src/hd-applications-menu.c, src/hd-switcher-menu.c: fix runtime warnings related to attaching the window to NULL widgets. * src/hn-app-button.c: removed useless debug print. * libhildonwm/hd-wm.c (mce_handler): close all temporary windows before activating switcher menu. Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-08-15 11:48:07 UTC (rev 13199) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-08-15 11:58:52 UTC (rev 13200) @@ -1,5 +1,13 @@ 2007-08-15 Lucas Rocha <lucas.rocha at nokia.com> + * src/hd-applications-menu.c, src/hd-switcher-menu.c: fix runtime + warnings related to attaching the window to NULL widgets. + * src/hn-app-button.c: removed useless debug print. + * libhildonwm/hd-wm.c (mce_handler): close all temporary windows + before activating switcher menu. + +2007-08-15 Lucas Rocha <lucas.rocha at nokia.com> + * libhildondesktop/hildon-desktop-marshalers.list, libhildondesktop/hildon-desktop-home-item.c (hildon_desktop_home_item_class_init): correctly set "settings" signal Modified: projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c =================================================================== --- projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c 2007-08-15 11:48:07 UTC (rev 13199) +++ projects/haf/trunk/hildon-desktop/libhildonwm/hd-wm.c 2007-08-15 11:58:52 UTC (rev 13200) @@ -710,6 +710,10 @@ if (g_str_equal (HOME_PRESS, member) && !hd_wm_modal_windows_present()) { +#ifdef MAEMO_CHANGES + gdk_close_all_temporary_windows (); +#endif + hd_wm_activate (HD_TN_ACTIVATE_MAIN_MENU); return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; Modified: projects/haf/trunk/hildon-desktop/src/hd-applications-menu.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hd-applications-menu.c 2007-08-15 11:48:07 UTC (rev 13199) +++ projects/haf/trunk/hildon-desktop/src/hd-applications-menu.c 2007-08-15 11:58:52 UTC (rev 13200) @@ -849,7 +849,9 @@ /* We don't attach the widget because if we do it, we cannot be on top of * virtual keyboard. Anyway it should be transient to button->priv->button */ +#if 0 hildon_desktop_popup_window_attach_widget (popup_window, NULL); +#endif button->priv->menu_categories = HILDON_DESKTOP_POPUP_MENU (g_object_new (HILDON_DESKTOP_TYPE_POPUP_MENU, Modified: projects/haf/trunk/hildon-desktop/src/hd-home-window.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hd-home-window.c 2007-08-15 11:48:07 UTC (rev 13199) +++ projects/haf/trunk/hildon-desktop/src/hd-home-window.c 2007-08-15 11:58:52 UTC (rev 13200) @@ -1232,6 +1232,7 @@ applet = HILDON_DESKTOP_HOME_ITEM (l->data); item = hildon_desktop_home_item_get_settings_menu_item (applet); + if (item && GTK_IS_MENU_ITEM (item)) { gtk_menu_append (GTK_MENU (priv->settings_menu), item); Modified: projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c 2007-08-15 11:48:07 UTC (rev 13199) +++ projects/haf/trunk/hildon-desktop/src/hd-switcher-menu.c 2007-08-15 11:58:52 UTC (rev 13200) @@ -843,10 +843,11 @@ /* We don't attach the widget because if we do it, we cannot be on top of * virtual keyboard. Anyway it should be transient to button */ - +#if 0 hildon_desktop_popup_window_attach_widget (switcher->priv->popup_window, NULL); - +#endif + switcher->priv->notifications_window = hildon_desktop_popup_window_get_pane (switcher->priv->popup_window, 0); Modified: projects/haf/trunk/hildon-desktop/src/hn-app-button.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hn-app-button.c 2007-08-15 11:48:07 UTC (rev 13199) +++ projects/haf/trunk/hildon-desktop/src/hn-app-button.c 2007-08-15 11:58:52 UTC (rev 13200) @@ -1034,8 +1034,6 @@ if (g_slist_find (group, app_button)) return; - g_debug ("setting group for the button"); - if (app_button->group) { GSList *l;
- Previous message: [maemo-commits] r13199 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
- Next message: [maemo-commits] r13201 - in projects/haf/trunk/hildon-desktop: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]