aboutsummaryrefslogtreecommitdiff
path: root/examples/hildon-banner-example.c
diff options
context:
space:
mode:
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>2007-02-16 11:57:04 +0000
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>2007-02-16 11:57:04 +0000
commit1fea2fe8f56279d58dd7fb9298b6e5f1b802fcf5 (patch)
tree352a2a33b1a9a253385e80215dd64ddc7d119dd1 /examples/hildon-banner-example.c
parent95f89effbcb4ce816c828a764eaabe4a200b814b (diff)
Adding Lucas patch to enable settable timeout on the banners and settable icon.
Diffstat (limited to 'examples/hildon-banner-example.c')
-rw-r--r--examples/hildon-banner-example.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/hildon-banner-example.c b/examples/hildon-banner-example.c
index c722c49..861eb40 100644
--- a/examples/hildon-banner-example.c
+++ b/examples/hildon-banner-example.c
@@ -45,7 +45,8 @@ on_progress_idle (GtkWidget *banner)
static gboolean
on_information_clicked (GtkWidget *widget)
{
- hildon_banner_show_information (widget, NULL, "Information banner");
+ GtkWidget* banner = hildon_banner_show_information (widget, NULL, "Information banner");
+ hildon_banner_set_timeout (HILDON_BANNER (banner), 9000);
return TRUE;
}