Add a new method hildon_banner_show_information_override_dnd
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 20 May 2009 13:51:38 +0000 (15:51 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 20 May 2009 14:07:24 +0000 (16:07 +0200)
commit9d721b72583bf60bb3418fbc8724d754f5f04511
treee078886b157975ade856989e03403a399fa8e7fa
parenta5b1f8eae3dd7169824d3c0614b315ed97895f18
Add a new method hildon_banner_show_information_override_dnd

* hildon/hildon-banner-private.h: new require_override_dnd and
overrides_dnd variables
* hildon/hildon-banner.h:
(hildon_banner_show_information_override_dnd): new method, that shows
the information but sets the override flag, in order to show important
messages
* hildon/hildon-banner.c
(hildon_banner_show_information_override_dnd): new method
(hildon_banner_set_override_flag): new utility function
(hildon_banner_real_show_information): new utility function, in order to
generalize the current hildon_banner_show_information_override_dnd and
hildon_banner_show_information_override_dnd
* examples/Makefile.am
* examples/hildon-banner-dnd-example.c: New example that show how to
use the new hildon_banner_show_information_override_dnd

Fixes: NB#114874 (There is no possibility to show hildon banners with
DND flag set)
ChangeLog
examples/Makefile.am
examples/hildon-banner-dnd-example.c [new file with mode: 0644]
hildon/hildon-banner-private.h
hildon/hildon-banner.c
hildon/hildon-banner.h