/* gdict-about.c - GtkAboutDialog wrapper
*
* This file is part of GNOME Dictionary
*
* Copyright (C) 2005 Emmanuele Bassi
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include "config.h"
#include
#include
#include
#include
#include
#include "gdict-about.h"
#include "gdict-common.h"
void
gdict_show_about_dialog (GtkWidget *parent)
{
const gchar *authors[] = {
"Mike Hughes ",
"Spiros Papadimitriou ",
"Bradford Hovinen ",
"Vincent Noel ",
"Emmanuele Bassi ",
NULL
};
const gchar *documenters[] = {
"Sun GNOME Documentation Team ",
"John Fleck ",
"Emmanuele Bassi ",
NULL
};
const gchar *translator_credits = _("translator-credits");
const gchar *copyright = "Copyright \xc2\xa9 2005 Emmanuele Bassi";
const gchar *comments = _("Look up words in dictionaries");
g_return_if_fail (GTK_IS_WINDOW (parent));
gtk_show_about_dialog (GTK_WINDOW (parent),
"program-name",
gdict_is_devel_build ()
? _("Dictionary (development build)")
: _("Dictionary"),
"version", VERSION,
"copyright", copyright,
"comments", comments,
"authors", authors,
"documenters", documenters,
"translator-credits", translator_credits,
"logo-icon-name", APPLICATION_ID,
"license-type", GTK_LICENSE_GPL_2_0,
NULL);
}