Debian patch 045-aboutdialog from source unattributed

This commit is contained in:
root
2010-06-20 18:27:50 -04:00
parent 16eaf703d4
commit 28e5dfb024

View File

@@ -43,26 +43,38 @@ gmdb_about_cb(GtkWidget *button, gpointer data)
{ {
const gchar *authors[] = { const gchar *authors[] = {
"Brian Bruns", "Brian Bruns",
"Jeff Smith",
"Filip Van Raemdonck",
NULL NULL
}; };
const gchar *documenters[] = { const gchar *documenters[] = {
"Brian Bruns", "Brian Bruns",
NULL NULL
}; };
GdkPixbuf *pixbuf; GtkWidget *parent;
GdkPixbuf *pixbuf=NULL;
pixbuf = gdk_pixbuf_new_from_file (GMDB_ICONDIR "logo.xpm", NULL); parent = gtk_widget_get_toplevel (button);
if (!GTK_WIDGET_TOPLEVEL (parent))
parent = NULL;
gtk_widget_show (gnome_about_new ("Gnome MDB Viewer", MDB_VERSION_NO, if (!pixbuf)
"Copyright 2002-2004 Brian Bruns", pixbuf = gdk_pixbuf_new_from_file (GMDB_ICONDIR "logo.xpm", NULL);
_("The Gnome-MDB Viewer is the grapical interface to "
"MDB Tools. It lets you view and export data and schema" gtk_show_about_dialog (parent,
"from MDB files produced by MS Access 97/2000/XP."), "authors", authors,
(const gchar **) authors, "comments", _("GNOME MDB Viewer is a grapical interface to "
(const gchar **) documenters, "MDB Tools. It lets you view and export data and schema "
NULL, "from MDB files produced by MS Access 97/2000/XP/2003."),
pixbuf)); "copyright", _("Copyright 2002-2006 Brian Bruns and others"),
"documenters", documenters,
"logo", pixbuf,
"name", _("GNOME MDB Viewer"),
"version", MDB_VERSION_NO,
"website", "http://mdbtools.sourceforge.net/",
NULL);
} }
void void
gmdb_prefs_cb(GtkWidget *button, gpointer data) gmdb_prefs_cb(GtkWidget *button, gpointer data)
{ {