X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-gtk-security-options-view.c;h=a0c1e9e436d8bd91566a0b4551c9c180d93fdb2b;hb=b8a28ec2cedd74525ff802fb341a96e64c5481b1;hp=1a46c7cdfc061d64c35933ebb14ca0491ef4dcc4;hpb=d791ed7c0651d118dfd7db58e38446e256958db6;p=modest diff --git a/src/widgets/modest-gtk-security-options-view.c b/src/widgets/modest-gtk-security-options-view.c index 1a46c7c..a0c1e9e 100644 --- a/src/widgets/modest-gtk-security-options-view.c +++ b/src/widgets/modest-gtk-security-options-view.c @@ -35,6 +35,7 @@ #include "modest-account-protocol.h" #include "widgets/modest-ui-constants.h" #include "widgets/modest-validating-entry.h" +#include "modest-toolkit-utils.h" #define PORT_MIN 1 #define PORT_MAX 65535 @@ -184,7 +185,7 @@ on_entry_max (ModestValidatingEntry *self, gpointer user_data) { modest_platform_information_banner (GTK_WIDGET (self), NULL, - _CS("ckdg_ib_maximum_characters_reached")); + _CS_MAXIMUM_CHARACTERS_REACHED); } /* @@ -256,8 +257,10 @@ create_outgoing_security (ModestSecurityOptionsView* self, ppriv->user_entry = GTK_WIDGET (modest_validating_entry_new ()); /* Auto-capitalization is the default, so let's turn it off: */ +#ifdef MAEMO_CHANGES hildon_gtk_entry_set_input_mode (GTK_ENTRY (ppriv->user_entry), HILDON_GTK_INPUT_MODE_FULL); +#endif user_label = g_strdup_printf("%s*", _("mail_fi_username")); user_caption = modest_toolkit_utils_create_captioned (title_size_group, value_size_group, @@ -277,7 +280,7 @@ create_outgoing_security (ModestSecurityOptionsView* self, ppriv->pwd_entry = gtk_entry_new (); /* Auto-capitalization is the default, so let's turn it off */ -#ifdef MODEST_TOOLKIT_HILDON2 +#ifdef MAEMO_CHANGES hildon_gtk_entry_set_input_mode (GTK_ENTRY (ppriv->pwd_entry), HILDON_GTK_INPUT_MODE_FULL | HILDON_GTK_INPUT_MODE_INVISIBLE);