From 564e10a66fdd0e9bfcdbd3ab98c10cb1b66f6633 Mon Sep 17 00:00:00 2001 From: Johannes Schmid Date: Sun, 22 Jul 2007 14:48:44 +0000 Subject: [PATCH] 2007-07-22 Johannes Schmid * 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 | 7 +++++++ src/maemo/easysetup/modest-easysetup-wizard.c | 7 ++++--- src/widgets/modest-account-view.c | 1 + 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog2 b/ChangeLog2 index e4b527b..0c33b4e 100644 --- a/ChangeLog2 +++ b/ChangeLog2 @@ -1,3 +1,10 @@ +2007-07-22 Johannes Schmid + + * 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 * src/maemo/modest-ui-actions.c: Use current account instead of diff --git a/src/maemo/easysetup/modest-easysetup-wizard.c b/src/maemo/easysetup/modest-easysetup-wizard.c index dfda166..7242293 100644 --- a/src/maemo/easysetup/modest-easysetup-wizard.c +++ b/src/maemo/easysetup/modest-easysetup-wizard.c @@ -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); diff --git a/src/widgets/modest-account-view.c b/src/widgets/modest-account-view.c index 8875b00..da7af15 100644 --- a/src/widgets/modest-account-view.c +++ b/src/widgets/modest-account-view.c @@ -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 -- 1.7.9.5