aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author9 <NotZed@Ximian.com>2001-10-20 06:26:26 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-20 06:26:26 +0800
commit69ab21999cfc7d4629135f0e1fecd732c1bf06b6 (patch)
tree70fd34520852ba9cf196f3df2518108764d0ac05
parent46b2a9d35930d1f2d44609feb50d8e148987c6a9 (diff)
downloadgsoc2013-evolution-69ab21999cfc7d4629135f0e1fecd732c1bf06b6.tar.gz
gsoc2013-evolution-69ab21999cfc7d4629135f0e1fecd732c1bf06b6.tar.zst
gsoc2013-evolution-69ab21999cfc7d4629135f0e1fecd732c1bf06b6.zip
Dont translate camel strings. (mail_account_gui_setup): "
2001-10-19 <NotZed@Ximian.com> * mail-account-gui.c (build_auth_menu): Dont translate camel strings. (mail_account_gui_setup): " svn path=/trunk/; revision=13810
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-account-gui.c18
2 files changed, 14 insertions, 9 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 922402594c..19fa3aaea5 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-19 <NotZed@Ximian.com>
+
+ * mail-account-gui.c (build_auth_menu): Dont translate camel strings.
+ (mail_account_gui_setup): "
+
2001-10-19 Ettore Perazzoli <ettore@ximian.com>
* component-factory.c (destination_folder_handle_motion): Get
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index 78339bad69..39572f9ab1 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -253,7 +253,7 @@ build_auth_menu (MailAccountGuiService *service, GList *all_authtypes,
for (l = all_authtypes, i = 0; l; l = l->next, i++) {
authtype = l->data;
- item = gtk_menu_item_new_with_label (_(authtype->name));
+ item = gtk_menu_item_new_with_label (authtype->name);
for (s = supported_authtypes; s; s = s->next) {
sauthtype = s->data;
if (!strcmp (authtype->name, sauthtype->name))
@@ -615,7 +615,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
if (entries[i].name && !strcmp (entries[i].name, "mailcheck"))
cur_vbox = glade_xml_get_widget (gui->xml, "extra_mailcheck_vbox");
else {
- frame = gtk_frame_new (_(entries[i].text));
+ frame = gtk_frame_new (entries[i].text);
gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0);
cur_vbox = gtk_vbox_new (FALSE, 4);
gtk_container_set_border_width (GTK_CONTAINER (cur_vbox), 4);
@@ -632,7 +632,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
GtkWidget *checkbox;
gboolean active;
- checkbox = gtk_check_button_new_with_label (_(entries[i].text));
+ checkbox = gtk_check_button_new_with_label (entries[i].text);
if (url)
active = camel_url_get_param (url, entries[i].name) != NULL;
else
@@ -651,7 +651,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
const char *text;
hbox = gtk_hbox_new (FALSE, 8);
- label = gtk_label_new (_(entries[i].text));
+ label = gtk_label_new (entries[i].text);
entry = gtk_entry_new ();
if (url)
text = camel_url_get_param (url, entries[i].name);
@@ -680,7 +680,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
double min, def, max;
gboolean enable;
- data = _(entries[i].text);
+ data = entries[i].text;
p = strstr (data, "%s");
g_return_if_fail (p != NULL);
@@ -1378,7 +1378,7 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top)
item = NULL;
if (provider->object_types[CAMEL_PROVIDER_STORE] && provider->flags & CAMEL_PROVIDER_IS_SOURCE) {
- item = gtk_menu_item_new_with_label (_(provider->name));
+ item = gtk_menu_item_new_with_label (provider->name);
gtk_object_set_data (GTK_OBJECT (item), "provider", provider);
gtk_signal_connect (GTK_OBJECT (item), "activate",
GTK_SIGNAL_FUNC (source_type_changed),
@@ -1402,7 +1402,7 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top)
}
if (provider->object_types[CAMEL_PROVIDER_TRANSPORT]) {
- item = gtk_menu_item_new_with_label (_(provider->name));
+ item = gtk_menu_item_new_with_label (provider->name);
gtk_object_set_data (GTK_OBJECT (item), "provider", provider);
gtk_signal_connect (GTK_OBJECT (item), "activate",
GTK_SIGNAL_FUNC (transport_type_changed),
@@ -1434,9 +1434,9 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top)
for (a = provider->authtypes; a; a = a->next) {
at = a->data;
- width = gdk_string_width (font, _(at->name));
+ width = gdk_string_width (font, at->name);
if (width > max_width) {
- max_authname = _(at->name);
+ max_authname = at->name;
max_width = width;
}
}