* Fixes NB#81144, do not show the work "whitespace" as an invalid character
authorSergio Villar Senin <svillar@igalia.com>
Tue, 25 Mar 2008 12:56:56 +0000 (12:56 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 25 Mar 2008 12:56:56 +0000 (12:56 +0000)
pmo-trunk-r4345

src/maemo/easysetup/modest-easysetup-wizard-dialog.c

index 74ba84d..36f9e9d 100644 (file)
@@ -467,14 +467,11 @@ on_entry_max (ModestValidatingEntry *self, gpointer user_data)
 static void
 on_entry_invalid_character (ModestValidatingEntry *self, const gchar* character, gpointer user_data)
 {
-       /* ModestEasysetupWizardDialog *dialog = MODEST_EASYSETUP_WIZARD_DIALOG (user_data); */
-       
        const gchar *show_char = NULL;
        if (character)
          show_char = character;
        else {
-         /* TODO: We need a logical ID for this: */
-         show_char = _("whitespace");
+         show_char = "' '";
        }
        
        /* TODO: Should this show just this one bad character or all the not-allowed characters? */