* hildon-widgets/hildon-banner.c (hildon_banner_set_property): Set max_width hint...
authorLuc Pionchon <luc.pionchon@nokia.com>
Sun, 28 May 2006 22:38:15 +0000 (22:38 +0000)
committerLuc Pionchon <luc.pionchon@nokia.com>
Sun, 28 May 2006 22:38:15 +0000 (22:38 +0000)
commitef675e16f5cce7838cd325af5b3889bda8a541e7
tree7468349033a574bebfb436c6ab794c3904679dcd
parentef27a7f89a0613bf3eb0c5452aa219adf66861cd
* hildon-widgets/hildon-banner.c (hildon_banner_set_property): Set max_width hint to -1 instead of HILDON_BANNER_LABEL_MAX_TIMED when banner is timed to avoid. This has been done to ensure that the size of the banner will be the requisition size and avoid the size problem when reusing the banner window. See NB#24339.

(hildon_banner_set_text): Removed useless gtk_window_resize after
        changing the label text. The size requisition of the banner is
        updated when the label text is modified, so there is no need to do
        a resize of the window to the requisition size.
        (hildon_banner_set_markup): Likewise.

        (hildon_banner_check_position): Added cast to widget argument in
        call to force_to_wrap_truncated in order to avoid a compilation
        warning.
ChangeLog
hildon-widgets/hildon-banner.c