summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <micke@codefactory.se>2002-02-28 22:28:31 +0000
committerMikael Hallendal <hallski@src.gnome.org>2002-02-28 22:28:31 +0000
commit21192779c6ebda4a21d11c8f98f1d395eb22ec1b (patch)
treec3745d63f38d1b8b44c3b7617ebea090800ce669
parent52f6a740182196d7ce35249d24f1104e8f92c151 (diff)
downloadyelp-21192779c6ebda4a21d11c8f98f1d395eb22ec1b.tar.gz
added translator-credits to about-box.
2002-02-28 Mikael Hallendal <micke@codefactory.se> * src/yelp-window.c: (yw_about_cb): added translator-credits to about-box.
-rw-r--r--ChangeLog3
-rw-r--r--src/yelp-window.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 080ee304..8d5a27c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,13 @@
2002-02-28 Mikael Hallendal <micke@codefactory.se>
* src/yelp-window.c:
+ (yw_about_cb): added translator-credits to about-box.
- #72636 fixed.
- added GtkItemFactory to priv-struct.
- added a Go-menu with the actions from the toolbar in it.
- removed accelerators from toolbar items.
- renamed some functions that made it easier to add the Go-menu.
-
+
2002-02-28 Sandeep V Honde <sandeep.honde@wipro.com>
* src/yelp-main.c :
diff --git a/src/yelp-window.c b/src/yelp-window.c
index 81900b4e..82972506 100644
--- a/src/yelp-window.c
+++ b/src/yelp-window.c
@@ -520,19 +520,20 @@ yw_go_index_cb (gpointer data, guint section, GtkWidget *widget)
static void
yw_about_cb (gpointer data, guint section, GtkWidget *widget)
{
- GtkWidget *about;
+ GtkWidget *about;
const gchar *authors[] = {
"Mikael Hallendal <micke@codefactory.se>",
"Alexander Larsson <alexl@redhat.com>",
NULL
};
+ gchar *translator_credits = _("translator_credits");
about = gnome_about_new (PACKAGE, VERSION,
"(C) 2001-2002 Mikael Hallendal <micke@codefactory.se>",
_("Help Browser for GNOME 2.0"),
authors,
NULL,
- NULL,
+ strcmp (translator_credits, "translator_credits") != 0 ? translator_credits : NULL,
NULL);
gtk_widget_show (about);