2007-04-24 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Tue, 24 Apr 2007 10:37:03 +0000 (10:37 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Tue, 24 Apr 2007 10:37:03 +0000 (10:37 +0000)
* src/maemo/easysetup/modest-easysetup-wizard.c:
        (create_page_account_details):
        * src/maemo/modest-account-settings-dialog.c:
        (create_page_account_details): Explicitly set auto-capitalization mode for the title
        widgets, because this might not be the default in future versions of the Maemo GTK+.
        However, I can not not get capitalization to work even in a simple test case.

pmo-trunk-r1648

ChangeLog2
src/maemo/easysetup/modest-easysetup-wizard.c
src/maemo/modest-account-settings-dialog.c

index 99dd92c..6a2b3d1 100644 (file)
@@ -1,6 +1,15 @@
 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
 
        * src/maemo/easysetup/modest-easysetup-wizard.c:
+       (create_page_account_details):
+       * src/maemo/modest-account-settings-dialog.c:
+       (create_page_account_details): Explicitly set auto-capitalization mode for the title 
+       widgets, because this might not be the default in future versions of the Maemo GTK+. 
+       However, I can not not get capitalization to work even in a simple test case.
+
+2007-04-24  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/easysetup/modest-easysetup-wizard.c:
        (create_page_custom_incoming), (create_page_custom_outgoing):
        * src/maemo/modest-account-settings-dialog.c:
        (create_page_account_details), (create_page_incoming),
index 62c1075..7d294de 100644 (file)
@@ -327,6 +327,9 @@ create_page_account_details (ModestEasysetupWizardDialog *self)
        
        /* The description widgets: */  
        self->entry_account_title = GTK_WIDGET (modest_validating_entry_new ());
+       /* Do use auto-capitalization: */
+       hildon_gtk_entry_set_input_mode (GTK_ENTRY (self->entry_account_title), 
+               HILDON_GTK_INPUT_MODE_FULL | HILDON_GTK_INPUT_MODE_AUTOCAP);
        
        /* Set a default account title, choosing one that does not already exist: */
        /* Note that this is irrelevant to the non-user visible name, which we will create later. */
index 5bb810a..e2fdee2 100644 (file)
@@ -239,6 +239,9 @@ create_page_account_details (ModestAccountSettingsDialog *self)
            
        /* The description widgets: */  
        self->entry_account_title = GTK_WIDGET (modest_validating_entry_new ());
+       /* Do use auto-capitalization: */
+       hildon_gtk_entry_set_input_mode (GTK_ENTRY (self->entry_account_title), 
+               HILDON_GTK_INPUT_MODE_FULL | HILDON_GTK_INPUT_MODE_AUTOCAP);
        GtkWidget *caption = create_caption_new_with_asterix (self, sizegroup, _("mcen_fi_account_title"), 
                self->entry_account_title, NULL, HILDON_CAPTION_MANDATORY);
        gtk_widget_show (self->entry_account_title);