2007-07-22 Johannes Schmid <johannes.schmid@openismus.com>
authorJohannes Schmid <johannes.schmid@openismus.com>
Sun, 22 Jul 2007 14:48:44 +0000 (14:48 +0000)
committerJohannes Schmid <johannes.schmid@openismus.com>
Sun, 22 Jul 2007 14:48:44 +0000 (14:48 +0000)
* src/maemo/easysetup/modest-easysetup-wizard.c:
(create_page_user_details):
Use auto-cap for name (projects.maemo.org NB#63716)
* src/widgets/modest-account-view.c: (on_account_busy_changed):

pmo-trunk-r2764

ChangeLog2
src/maemo/easysetup/modest-easysetup-wizard.c
src/widgets/modest-account-view.c

index e4b527b..0c33b4e 100644 (file)
@@ -1,3 +1,10 @@
+2007-07-22  Johannes Schmid <johannes.schmid@openismus.com>
+
+       * src/maemo/easysetup/modest-easysetup-wizard.c:
+       (create_page_user_details):
+       Use auto-cap for name (projects.maemo.org NB#63716)
+       * src/widgets/modest-account-view.c: (on_account_busy_changed):
+
 2007-07-22  Armin Burgmeier  <armin@openismus.com>
 
        * src/maemo/modest-ui-actions.c: Use current account instead of
index dfda166..7242293 100644 (file)
@@ -533,10 +533,11 @@ create_page_user_details (ModestEasysetupWizardDialog *self)
         * We use GTK_SIZE_GROUP_HORIZONTAL, so that the widths are the same. */
        GtkSizeGroup* sizegroup = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
         
-       /* The name widgets: */
+       /* The name widgets: (use auto cap) */
        self->entry_user_name = GTK_WIDGET (modest_validating_entry_new ());
-       /* Auto-capitalization is the default, so let's turn it off: */
-       hildon_gtk_entry_set_input_mode (GTK_ENTRY (self->entry_user_name), HILDON_GTK_INPUT_MODE_FULL);
+       hildon_gtk_entry_set_input_mode (GTK_ENTRY (self->entry_user_name), 
+                                        HILDON_GTK_INPUT_MODE_FULL | HILDON_GTK_INPUT_MODE_AUTOCAP);
+       
        /* Set max length as in the UI spec:
         * The UI spec seems to want us to show a dialog if we hit the maximum. */
        gtk_entry_set_max_length (GTK_ENTRY (self->entry_user_name), 64);
index 8875b00..da7af15 100644 (file)
@@ -285,6 +285,7 @@ on_account_busy_changed(ModestAccountMgr *account_mgr, const gchar *account_name
 {
        GtkListStore *model = GTK_LIST_STORE(gtk_tree_view_get_model (GTK_TREE_VIEW(self)));
        GtkTreeIter iter;
+       g_message(__FUNCTION__);
        if (!gtk_tree_model_get_iter_first(GTK_TREE_MODEL(model), &iter))
                return;
        do