aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GtkNSSClientAuthDialogs.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-16 04:08:07 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-16 04:08:07 +0800
commit1e95d209e75a03c8340726a8c088d4d6abfed752 (patch)
treef08221947611e3d42253526794b8c51c42af9cde /embed/mozilla/GtkNSSClientAuthDialogs.cpp
parent984bb65c96c5f310313557eca924e9ba73adb8b9 (diff)
downloadgsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.gz
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.bz2
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.lz
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.xz
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.zst
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.zip
Don't use <tt> in the strings. Fixes bug #163378.
2005-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Don't use <tt> in the strings. Fixes bug #163378. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): Fix button text and capitalisation in the confirm-redirect-update dialogue. Fixes bug #164131. * src/ephy-window.c: (confirm_close_with_modified_forms): Fix primary text of confirm-close command not to have a period.
Diffstat (limited to 'embed/mozilla/GtkNSSClientAuthDialogs.cpp')
-rw-r--r--embed/mozilla/GtkNSSClientAuthDialogs.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/embed/mozilla/GtkNSSClientAuthDialogs.cpp b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
index 4a0531e6d..3abc7d276 100644
--- a/embed/mozilla/GtkNSSClientAuthDialogs.cpp
+++ b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
@@ -141,7 +141,7 @@ GtkNSSClientAuthDialogs::ChooseCertificate (nsIInterfaceRequestor *ctx,
GtkListStore *store;
GtkTreeIter iter;
GtkCellRenderer *renderer;
- char *msg, *tt_cn, *markup_text;
+ char *msg, *markup_text;
PRUint32 i;
nsCOMPtr<nsIDOMWindow> parent = do_GetInterface (ctx);
@@ -198,16 +198,14 @@ GtkNSSClientAuthDialogs::ChooseCertificate (nsIInterfaceRequestor *ctx,
nsEmbedCString utf8_cn;
NS_UTF16ToCString (nsEmbedString (cn),
NS_CSTRING_ENCODING_UTF8, utf8_cn);
- tt_cn = g_markup_printf_escaped ("\"<tt>%s</tt>\"", utf8_cn.get());
- msg = g_strdup_printf (_("Choose a certificate to present as identification to %s."),
- tt_cn);
+ msg = g_markup_printf_escaped (_("Choose a certificate to present as identification to \"%s\"."),
+ utf8_cn.get());
markup_text = g_strdup_printf ("<span weight=\"bold\" size=\"larger\">%s</span>\n\n%s",
_("Select a certificate to identify yourself."),
msg);
gtk_label_set_markup (GTK_LABEL (label), markup_text);
g_free (msg);
- g_free (tt_cn);
g_free (markup_text);
/* Create and populate the combo */