[maemo-commits] [maemo-commits] r8632 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildonwm
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Dec 5 14:47:06 EET 2006
- Previous message: [maemo-commits] r8631 - projects/haf/trunk/maemo-af-desktop
- Next message: [maemo-commits] r8633 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart Date: 2006-12-05 14:47:04 +0200 (Tue, 05 Dec 2006) New Revision: 8632 Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.c projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.h Log: * libhildonwm/hd-wm.[ch]: Added a signal for requesting appswitchers open their menu. * ChangeLog updated. Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog =================================================================== --- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog 2006-12-05 12:41:25 UTC (rev 8631) +++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog 2006-12-05 12:47:04 UTC (rev 8632) @@ -1,5 +1,10 @@ -2005-12-04 Moises Martinez <moises.martinzes at nokia.com> +2006-12-05 Moises Martinez <moises.martinzes at nokia.com> + * libhildonwm/hd-wm.[ch]: Added a signal for requesting appswitchers + open their menu. + +2006-12-04 Moises Martinez <moises.martinzes at nokia.com> + * test/test4.c: - Updated test. 4 application switcher working at the same time. * libhildonwm/hd-entry-info.c: @@ -7,7 +12,7 @@ * libhildondesktop/hn-app-switcher.c: - Code cleanup. -2005-12-04 Moises Martinez <moises.martinzes at nokia.com> +2006-12-04 Moises Martinez <moises.martinzes at nokia.com> * libhildonwm/hd-keys.c: Fixed shortcuts to active tn/ap buttons. * libhildonwm/hd-wm.[ch]: Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.c =================================================================== --- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.c 2006-12-05 12:41:25 UTC (rev 8631) +++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.c 2006-12-05 12:47:04 UTC (rev 8632) @@ -73,6 +73,7 @@ HDWM_ENTRY_INFO_ADDED_SIGNAL, HDWM_ENTRY_INFO_REMOVED_SIGNAL, HDWM_ENTRY_INFO_STACK_CHANGED_SIGNAL, + HDWM_SHOW_A_MENU_SIGNAL, HDWM_SIGNALS }; @@ -547,6 +548,15 @@ g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER); + hdwm_signals[HDWM_SHOW_A_MENU_SIGNAL] = + g_signal_new("show_menu", + G_OBJECT_CLASS_TYPE(object_class), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (HDWMClass,show_menu), + NULL, NULL, + g_cclosure_marshal_VOID__VOID, + G_TYPE_NONE, 0); + } static void @@ -1653,8 +1663,8 @@ hd_wm_set_window_focus (window,FALSE); return; case HD_TN_ACTIVATE_MAIN_MENU: - g_debug ("activating main menu: signal"); - g_debug ("%s: %d, hn_app_switcher_toggle_menu_button (hdwm->priv->app_switcher);",__FILE__,__LINE__); + g_debug ("activating main menu: signal"); + g_signal_emit_by_name (hdwm, "show_menu"); return; case HD_TN_ACTIVATE_LAST_APP_WINDOW: hdwm->priv->has_focus = FALSE; Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.h =================================================================== --- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.h 2006-12-05 12:41:25 UTC (rev 8631) +++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.h 2006-12-05 12:47:04 UTC (rev 8632) @@ -141,6 +141,7 @@ void (*entry_info_removed) (HDWM *hdwm,HDEntryInfo *info); void (*entry_info_changed) (HDWM *hdwm,HDEntryInfo *info); void (*entry_info_stack_changed) (HDWM *hdwm,HDEntryInfo *info); + void (*show_menu) (HDWM *hdwm); /* */ };
- Previous message: [maemo-commits] r8631 - projects/haf/trunk/maemo-af-desktop
- Next message: [maemo-commits] r8633 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]