"This is a simple test of the GnomeDruid. If this had been an actual emergency, the attention signal you just heard would've been followed by sports, fashion, entertainment, and other critical information. Remember, this is only a test.";
$end_page_text =
"Thank you for joining us, and thank you for reading this banal text. I'm sorry it's so boring, but it's just filler, after all.";
# this is intentionally incorrect --- spaces are not allowed in app_name,
# because space isn't allowed in GConf keys. this proves that the checking
# works, and keeps from polluting the GConf database with crap from test apps.
# it does, however, mean that the program will spit out lots of GConf-CRITICAL
# warnings, and present the user with a warning that the app couldn't
# initialize properly. but this is a test, and we want to see things like that.
$druid_page->append_item ("For more information:", Gnome2::HRef->new ('http://gtk2-perl.sourceforge.net', 'the gtk2-perl homepage'), "click on it. you know you want to.");
$druid_page->append_item ("test gnome_sound_play / Gnome2::Sound->play", $button, "sample filename is hard-coded");
$button = Gtk2::Button->new ("About");
# everything after authors may default on Gnome2::About->new.
$button->signal_connect (clicked => sub { Gnome2::About->new ("Druid Test", "0.2", "(c) 2003 by muppet and the Gnome authors whose example he ported", "decreasingly simple example of using a Gnome2::Druid and other widgets", ['muppet', 'Gnome authors'])->show; 1 });
$druid_page->append_item ("test gnome_sound_play / Gnome2::Sound->play", $button, "sample filename is hard-coded");