- int re;
- char *msg = g_markup_printf_escaped (
- _(_("<span font_desc='20' weight='bold'>Viking %s</span>\n\n"
- "GPS Data and Topo Analyzer, Explorer, and Manager.\n\n"
- "<small>(C) 2003-2008, Evan Battaglia</small>\n\n"
- "<small>Web site: %s</small>")),
- VIKING_VERSION, VIKING_URL);
- GtkWidget *msgbox = gtk_message_dialog_new_with_markup ( parent,
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_INFO,
- GTK_BUTTONS_NONE,
- msg);
-
- gtk_dialog_add_buttons (GTK_DIALOG(msgbox), _("Credits"), 1, _("License"), 2, _("Close"), 3, NULL, NULL);
-
- while ((re = gtk_dialog_run ( GTK_DIALOG(msgbox))) != 3) {
- if (re==1) {
- /* creds */
- a_dialog_info_msg(parent, AUTHORS);
- }
- if (re==2) {
- a_dialog_info_msg(parent, _("\n\n"
- "This program is free software; you can redistribute it and/or modify "
+ const gchar *program_name = PACKAGE_NAME;
+ const gchar *version = VIKING_VERSION;
+ const gchar *website = VIKING_URL;
+ const gchar *copyright = "2003-2008, Evan Battaglia";
+ const gchar *comments = _("GPS Data and Topo Analyzer, Explorer, and Manager.");
+ const gchar *license = _("This program is free software; you can redistribute it and/or modify "