aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-06 04:50:17 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-06 04:50:17 +0800
commitff613b57b38921916269063f042e266b36d7d6d4 (patch)
treea4d480b56c7c70fe58d1530025341768ce00cfed /src/window-commands.c
parent97265c7fbcc1744b27b56e43580fe5c9ad41c26a (diff)
downloadgsoc2013-epiphany-ff613b57b38921916269063f042e266b36d7d6d4.tar.gz
gsoc2013-epiphany-ff613b57b38921916269063f042e266b36d7d6d4.tar.zst
gsoc2013-epiphany-ff613b57b38921916269063f042e266b36d7d6d4.zip
Show the backend in the about box.
2006-02-05 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: Show the backend in the about box.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 453afbc50..214b81793 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -744,8 +744,15 @@ window_cmd_help_about (GtkAction *action,
"59 Temple Place, Suite 330, Boston, MA 02111-1307 USA")
};
- char *licence;
+ EphyEmbedShell *shell;
+ EphyEmbedSingle *single;
+ char *licence, *comments;
+
+ shell = ephy_embed_shell_get_default ();
+ single = EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (shell));
+ comments = g_strdup_printf (_("Using “%s” backend"),
+ ephy_embed_single_get_backend_name (single));
licence = g_strdup_printf ("%s\n\n%s\n\n%s",
_(licence_part[0]), _(licence_part[1]), _(licence_part[2]));
@@ -755,6 +762,7 @@ window_cmd_help_about (GtkAction *action,
"copyright", "Copyright © 2002-2004 Marco Pesenti Gritti\n"
"Copyright © 2003-2006 The GNOME Web Browser Developers",
"authors", authors,
+ "comments", comments,
"documenters", documenters,
/* Translators: This is a special message that shouldn't be translated
* literally. It is used in the about box to give credits to
@@ -772,6 +780,7 @@ window_cmd_help_about (GtkAction *action,
"wrap-license", TRUE,
NULL);
+ g_free (comments);
g_free (licence);
}