Add translator credits

This commit is contained in:
Kwok-Koon Cheung 2002-05-21 07:48:11 +00:00
parent 41039c25a7
commit 1f2b74e8d6
2 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-05-21 Abel Cheung <maddog@linux.org.hk>
* capplet-dir-view.c (about_menu_cb): Add translator credits.
2002-05-16 Jody Goldberg <jody@gnome.org> 2002-05-16 Jody Goldberg <jody@gnome.org>
* capplet-dir-view.c (capplet_dir_view_init) : pass a slightly more * capplet-dir-view.c (capplet_dir_view_init) : pass a slightly more

View file

@ -328,6 +328,12 @@ about_menu_cb (BonoboUIComponent *uic, gpointer data, const char *cname)
NULL NULL
}; };
static gchar *documenters[] = {
NULL
};
gchar *translator_credits = _("translator_credits");
if (about != NULL) { if (about != NULL) {
gdk_window_show (about->window); gdk_window_show (about->window);
gdk_window_raise (about->window); gdk_window_raise (about->window);
@ -340,7 +346,9 @@ about_menu_cb (BonoboUIComponent *uic, gpointer data, const char *cname)
"Copyright (C) 1999 Red Hat Software, Inc.", "Copyright (C) 1999 Red Hat Software, Inc.",
_("Desktop properties manager."), _("Desktop properties manager."),
(const gchar **) authors, (const gchar **) authors,
NULL, NULL, NULL); (const gchar **) documenters,
strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
g_signal_connect (G_OBJECT (about), "destroy", g_signal_connect (G_OBJECT (about), "destroy",
(GCallback) gtk_widget_destroyed, (GCallback) gtk_widget_destroyed,