Calculate max label size of HildonBanner using the actual screen width
authorAlberto Garcia <agarcia@igalia.com>
Mon, 4 May 2009 18:00:43 +0000 (20:00 +0200)
committerAlberto Garcia <agarcia@igalia.com>
Mon, 4 May 2009 18:01:17 +0000 (20:01 +0200)
commit1498cdf9e60030f4af8c1fbfd1624456176a4e8a
tree5761449001e7c44c493931cba6883b98dd33eff2
parentd569d6f00b48c0ddd9091002630ffd8e6c38a22b
Calculate max label size of HildonBanner using the actual screen width

* hildon/hildon-banner.c:
Calculate size of the banner label using the actual screen width
rather than using a fixed value.

Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
is truncated)
ChangeLog
hildon/hildon-banner.c