[maemo-commits] [maemo-commits] r12701 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Jul 9 17:09:50 EEST 2007
- Previous message: [maemo-commits] r12700 - in projects/haf/trunk/hildon-desktop: . src
- Next message: [maemo-commits] r12702 - in projects/haf/trunk/hildon-desktop: . libhildondesktop src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: moimart Date: 2007-07-09 17:09:45 +0300 (Mon, 09 Jul 2007) New Revision: 12701 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c Log: 2007-07-09 Moises Martinez <moises.martinez at nokia.com> * libhildondesktop/hildon-desktop-panel-expandable.c: (hildon_desktop_panel_expandable_hide_extension), (hildon_desktop_panel_expandable_add_button), (hildon_desktop_panel_expandable_requeue_last_in_panel): - Hide the extension panel if we are adding a button. - Fixed when reparenting last item when arrow is going to be added. * ChangeLog updated. Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-07-09 14:05:43 UTC (rev 12700) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-07-09 14:09:45 UTC (rev 12701) @@ -1,3 +1,12 @@ +2007-07-09 Moises Martinez <moises.martinez at nokia.com> + + * libhildondesktop/hildon-desktop-panel-expandable.c: + (hildon_desktop_panel_expandable_hide_extension), + (hildon_desktop_panel_expandable_add_button), + (hildon_desktop_panel_expandable_requeue_last_in_panel): + - Hide the extension panel if we are adding a button. + - Fixed when reparenting last item when arrow is going to be added. + 2007-07-09 Lucas Rocha <lucas.rocha at nokia.com> * src/hd-switcher-menu.c Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c =================================================================== --- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c 2007-07-09 14:05:43 UTC (rev 12700) +++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-panel-expandable.c 2007-07-09 14:09:45 UTC (rev 12701) @@ -238,6 +238,8 @@ gtk_grab_remove (GTK_WIDGET (panel->priv->extension_window)); gtk_widget_hide (GTK_WIDGET (panel->priv->extension_window)); + + panel->priv->extension_opened = FALSE; } static gboolean @@ -533,6 +535,9 @@ gint item_width,item_height; GtkRequisition req; + if (ex_panel->priv->extension_opened) + hildon_desktop_panel_expandable_hide_extension (ex_panel); + g_signal_emit_by_name (ex_panel, "queued-button", button); sb_debug ("Adding button in expandable %d %d",ex_panel->priv->items_p_row,ex_panel->priv->n_items+1); @@ -884,10 +889,10 @@ if (!children) return; - l = g_list_last (children); + l = children; while (GTK_WIDGET (l->data) == panel->priv->arrow) - l = l->prev; + l = l->next; item = HILDON_DESKTOP_PANEL_ITEM (l->data);
- Previous message: [maemo-commits] r12700 - in projects/haf/trunk/hildon-desktop: . src
- Next message: [maemo-commits] r12702 - in projects/haf/trunk/hildon-desktop: . libhildondesktop src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]