Commit 69ab2199 authored by 9's avatar 9 Committed by Michael Zucci

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
parent 46b2a9d3
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> 2001-10-19 Ettore Perazzoli <ettore@ximian.com>
* component-factory.c (destination_folder_handle_motion): Get * component-factory.c (destination_folder_handle_motion): Get
......
...@@ -253,7 +253,7 @@ build_auth_menu (MailAccountGuiService *service, GList *all_authtypes, ...@@ -253,7 +253,7 @@ build_auth_menu (MailAccountGuiService *service, GList *all_authtypes,
for (l = all_authtypes, i = 0; l; l = l->next, i++) { for (l = all_authtypes, i = 0; l; l = l->next, i++) {
authtype = l->data; 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) { for (s = supported_authtypes; s; s = s->next) {
sauthtype = s->data; sauthtype = s->data;
if (!strcmp (authtype->name, sauthtype->name)) if (!strcmp (authtype->name, sauthtype->name))
...@@ -615,7 +615,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string) ...@@ -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")) if (entries[i].name && !strcmp (entries[i].name, "mailcheck"))
cur_vbox = glade_xml_get_widget (gui->xml, "extra_mailcheck_vbox"); cur_vbox = glade_xml_get_widget (gui->xml, "extra_mailcheck_vbox");
else { 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); gtk_box_pack_start (GTK_BOX (main_vbox), frame, FALSE, FALSE, 0);
cur_vbox = gtk_vbox_new (FALSE, 4); cur_vbox = gtk_vbox_new (FALSE, 4);
gtk_container_set_border_width (GTK_CONTAINER (cur_vbox), 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) ...@@ -632,7 +632,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
GtkWidget *checkbox; GtkWidget *checkbox;
gboolean active; gboolean active;
checkbox = gtk_check_button_new_with_label (_(entries[i].text)); checkbox = gtk_check_button_new_with_label (entries[i].text);
if (url) if (url)
active = camel_url_get_param (url, entries[i].name) != NULL; active = camel_url_get_param (url, entries[i].name) != NULL;
else else
...@@ -651,7 +651,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string) ...@@ -651,7 +651,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
const char *text; const char *text;
hbox = gtk_hbox_new (FALSE, 8); hbox = gtk_hbox_new (FALSE, 8);
label = gtk_label_new (_(entries[i].text)); label = gtk_label_new (entries[i].text);
entry = gtk_entry_new (); entry = gtk_entry_new ();
if (url) if (url)
text = camel_url_get_param (url, entries[i].name); 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) ...@@ -680,7 +680,7 @@ mail_account_gui_build_extra_conf (MailAccountGui *gui, const char *url_string)
double min, def, max; double min, def, max;
gboolean enable; gboolean enable;
data = _(entries[i].text); data = entries[i].text;
p = strstr (data, "%s"); p = strstr (data, "%s");
g_return_if_fail (p != NULL); g_return_if_fail (p != NULL);
...@@ -1378,7 +1378,7 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top) ...@@ -1378,7 +1378,7 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top)
item = NULL; item = NULL;
if (provider->object_types[CAMEL_PROVIDER_STORE] && provider->flags & CAMEL_PROVIDER_IS_SOURCE) { 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_object_set_data (GTK_OBJECT (item), "provider", provider);
gtk_signal_connect (GTK_OBJECT (item), "activate", gtk_signal_connect (GTK_OBJECT (item), "activate",
GTK_SIGNAL_FUNC (source_type_changed), GTK_SIGNAL_FUNC (source_type_changed),
...@@ -1402,7 +1402,7 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top) ...@@ -1402,7 +1402,7 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top)
} }
if (provider->object_types[CAMEL_PROVIDER_TRANSPORT]) { 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_object_set_data (GTK_OBJECT (item), "provider", provider);
gtk_signal_connect (GTK_OBJECT (item), "activate", gtk_signal_connect (GTK_OBJECT (item), "activate",
GTK_SIGNAL_FUNC (transport_type_changed), GTK_SIGNAL_FUNC (transport_type_changed),
...@@ -1434,9 +1434,9 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top) ...@@ -1434,9 +1434,9 @@ mail_account_gui_setup (MailAccountGui *gui, GtkWidget *top)
for (a = provider->authtypes; a; a = a->next) { for (a = provider->authtypes; a; a = a->next) {
at = a->data; at = a->data;
width = gdk_string_width (font, _(at->name)); width = gdk_string_width (font, at->name);
if (width > max_width) { if (width > max_width) {
max_authname = _(at->name); max_authname = at->name;
max_width = width; max_width = width;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment