[maemo-commits] [maemo-commits] r11901 - in projects/haf/trunk/hildon-desktop: . libhildondesktop src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon May 28 15:42:04 EEST 2007
- Previous message: [maemo-commits] r11900 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r11902 - in projects/haf/trunk/hildon-theme-layout-4: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: jobi Date: 2007-05-28 15:42:02 +0300 (Mon, 28 May 2007) New Revision: 11901 Modified: projects/haf/trunk/hildon-desktop/ChangeLog projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-window.c projects/haf/trunk/hildon-desktop/src/hd-home-window.c Log: 2007-05-28 Johan Bilien <johan.bilien at nokia.com> * src/hd-home-window.c: - don't set the sensitivity of the layout mode menu item when not used * libhildondesktop/hildon-home-window.c: - fixed a typo in property IDs assignment Modified: projects/haf/trunk/hildon-desktop/ChangeLog =================================================================== --- projects/haf/trunk/hildon-desktop/ChangeLog 2007-05-28 12:41:50 UTC (rev 11900) +++ projects/haf/trunk/hildon-desktop/ChangeLog 2007-05-28 12:42:02 UTC (rev 11901) @@ -1,3 +1,11 @@ +2007-05-28 Johan Bilien <johan.bilien at nokia.com> + + * src/hd-home-window.c: + - don't set the sensitivity of the layout mode menu item when + not used + * libhildondesktop/hildon-home-window.c: + - fixed a typo in property IDs assignment + 2007-05-27 Johan Bilien <johan.bilien at nokia.com> * libhildondesktop/hildon-desktop-home-item.[ch]: Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-window.c =================================================================== --- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-window.c 2007-05-28 12:41:50 UTC (rev 11900) +++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-home-window.c 2007-05-28 12:42:02 UTC (rev 11901) @@ -358,7 +358,7 @@ G_PARAM_READWRITE); g_object_class_install_property (gobject_class, - PROP_WORK_AREA, + PROP_MENU, pspec); /* Overriden from GtkWindow */ Modified: projects/haf/trunk/hildon-desktop/src/hd-home-window.c =================================================================== --- projects/haf/trunk/hildon-desktop/src/hd-home-window.c 2007-05-28 12:41:50 UTC (rev 11900) +++ projects/haf/trunk/hildon-desktop/src/hd-home-window.c 2007-05-28 12:42:02 UTC (rev 11901) @@ -1396,7 +1396,8 @@ /* if no applets are set we disable the layout_mode item * and the settings item. */ - gtk_widget_set_sensitive (priv->layout_mode_item, FALSE); + if (!priv->layout_mode_sucks) + gtk_widget_set_sensitive (priv->layout_mode_item, FALSE); gtk_widget_set_sensitive (priv->settings_item, FALSE); return; } @@ -1420,7 +1421,8 @@ } } - gtk_widget_set_sensitive (priv->layout_mode_item, TRUE); + if (!priv->layout_mode_sucks) + gtk_widget_set_sensitive (priv->layout_mode_item, TRUE); gtk_widget_set_sensitive (priv->settings_item, settings_item_active); g_list_free (items); }
- Previous message: [maemo-commits] r11900 - projects/haf/hafbuildbot
- Next message: [maemo-commits] r11902 - in projects/haf/trunk/hildon-theme-layout-4: . rc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]