Set the program-name property of the about dialog.

* demos/gtk-demo/appwindow.c: Set the program-name property
        of the about dialog.

        * docs/tools/widgets.c: Add GtkAboutDialog


svn path=/trunk/; revision=22427
This commit is contained in:
Matthias Clasen
2009-03-01 05:19:42 +00:00
parent 7ab372c6ca
commit f3f4fec8db
7 changed files with 50 additions and 4 deletions

View File

@ -132,9 +132,9 @@ about_cb (GtkAction *action,
gtk_about_dialog_set_email_hook (activate_email, NULL, NULL);
gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
gtk_show_about_dialog (GTK_WINDOW (window),
"name", "GTK+ Code Demos",
"program-name", "GTK+ Code Demos",
"version", PACKAGE_VERSION,
"copyright", "(C) 1997-2005 The GTK+ Team",
"copyright", "(C) 1997-2009 The GTK+ Team",
"license", license,
"website", "http://www.gtk.org",
"comments", "Program to demonstrate GTK+ functions.",