[maemo-commits] [maemo-commits] r9519 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Feb 1 16:50:39 EET 2007
- Previous message: [maemo-commits] r9518 - projects/haf/trunk
- Next message: [maemo-commits] r9521 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart Date: 2007-02-01 16:50:38 +0200 (Thu, 01 Feb 2007) New Revision: 9519 Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-window.c Log: * libhildondesktop/hildon-desktop-panel-window.c: - Force moving & resizing at start-up. * ChangeLog updated. Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog =================================================================== --- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog 2007-02-01 14:49:09 UTC (rev 9518) +++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog 2007-02-01 14:50:38 UTC (rev 9519) @@ -1,5 +1,10 @@ 2007-02-01 Moises Martinez <moises.martinez at nokia.com> + * libhildondesktop/hildon-desktop-panel-window.c: + - Force moving & resizing at start-up. + +2007-02-01 Moises Martinez <moises.martinez at nokia.com> + * src/hd-plugin-loader-legacy.c: - Listen to "hildon-status-bar-update-conditional" * libhildondesktop/hildon-status-bar-item.[ch]: Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-window.c =================================================================== --- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-window.c 2007-02-01 14:49:09 UTC (rev 9518) +++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-panel-window.c 2007-02-01 14:50:38 UTC (rev 9519) @@ -109,6 +109,7 @@ HildonDesktopPanelWindowState state, gboolean grab_keyboard, guint32 timestamp); +static void hildon_desktop_panel_win_move_resize (HildonDesktopPanelWindow *window,gboolean move,gboolean resize); GType hildon_desktop_panel_window_orientation_get_type (void) @@ -336,6 +337,12 @@ /* FIXME: what do we do with focus??? */ } +static void +hildon_desktop_panel_window_force_move (GtkWidget *widget, GdkEventExpose *event, gpointer data) +{ + hildon_desktop_panel_win_move_resize (HILDON_DESKTOP_PANEL_WINDOW (widget),TRUE,TRUE); +} + static GObject * hildon_desktop_panel_window_constructor (GType gtype, guint n_params, @@ -375,6 +382,11 @@ GTK_WIDGET (HILDON_DESKTOP_WINDOW (window)->container)); gtk_widget_show (GTK_WIDGET (HILDON_DESKTOP_WINDOW (window)->container)); + g_signal_connect_after (object, + "expose-event", + G_CALLBACK (hildon_desktop_panel_window_force_move), + NULL); + gtk_widget_pop_composite_child (); return object;
- Previous message: [maemo-commits] r9518 - projects/haf/trunk
- Next message: [maemo-commits] r9521 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]