[maemo-commits] [maemo-commits] /trunk/hildon-libs/ - marivoll - r3895
From: www-data www-data at stage.maemo.orgDate: Mon Apr 24 20:26:13 EEST 2006
- Previous message: [maemo-commits] /trunk/python-hildon/ - dandrada - r3894
- Next message: [maemo-commits] /trunk/hildon-fm/hildon-fm/ - kihamala - r3896
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* hildon-widgets/hildon-grid-item.c (hildon_grid_item_set_property), (hildon_grid_item_get_property), (hildon_grid_item_class_init): Add icon-basename property. (hildon_grid_item_new, hildon_grid_item_new_with_label): Move code from here to hildon_grid_item_init(), so we can just call g_object_new(). (hildon_grid_item_set_label): Convert NULL label to empty string. Bug fix: don't cast the label widget to a string and compare it against the new label text, use gtk_label_get_label instead. Expect priv->label to always be non-NULL. (update_icon): Don't pass NULL icon name to gtk_icon_theme_load_icon, use default icon instead in that case. * hildon-widgets/hildon-grid-item.h: Make _hildon_grid_item_set_label into public hildon_grid_item_set_label(), so that language bindings can use it. * ut/hildon-widgets_tests.c (VALID_ICON): Use existing icon. (test33a2, test33b4, test33b4): Expect them to succeed now that a HildonGridItem can handle NULL icons. U projects/haf/trunk/hildon-libs/ChangeLog U projects/haf/trunk/hildon-libs/hildon-widgets/hildon-grid-item.c U projects/haf/trunk/hildon-libs/hildon-widgets/hildon-grid-item.h U projects/haf/trunk/hildon-libs/ut/hildon-widgets_tests.c URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=3895 /trunk/hildon-libs/
- Previous message: [maemo-commits] /trunk/python-hildon/ - dandrada - r3894
- Next message: [maemo-commits] /trunk/hildon-fm/hildon-fm/ - kihamala - r3896
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]