From 90ff729ad8d144bdfe7665aa0426c5a2c6e13bc9 Mon Sep 17 00:00:00 2001 From: Javier Fernandez Garcia-Boente Date: Wed, 20 Jun 2007 11:48:47 +0000 Subject: [PATCH] * Fixed problem with focus and move_to operation. pmo-trunk-r2330 --- src/maemo/modest-msg-edit-window.c | 4 ++-- src/modest-ui-actions.c | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/maemo/modest-msg-edit-window.c b/src/maemo/modest-msg-edit-window.c index b9487e5..79e0fcc 100644 --- a/src/maemo/modest-msg-edit-window.c +++ b/src/maemo/modest-msg-edit-window.c @@ -1791,7 +1791,7 @@ modest_msg_edit_window_zoom_plus (ModestWindow *window) group = gtk_radio_action_get_group (zoom_radio_action); if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (group->data))) { - hildon_banner_show_information (NULL, NULL, _("mcen_ib_max_zoom_level")); + hildon_banner_show_information (NULL, NULL, _("ckct_ib_max_zoom_level_reached")); return FALSE; } @@ -1823,7 +1823,7 @@ modest_msg_edit_window_zoom_minus (ModestWindow *window) gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (node->next->data), TRUE); return TRUE; } else - hildon_banner_show_information (NULL, NULL, _("mcen_ib_min_zoom_level")); + hildon_banner_show_information (NULL, NULL, _("ckct_ib_min_zoom_level_reached")); break; } } diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index e177ba1..626b997 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -2337,6 +2337,10 @@ modest_ui_actions_on_select_all (GtkAction *action, /* Select all messages */ selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(header_view)); gtk_tree_selection_select_all (selection); + + /* Set focuse on header view */ + gtk_widget_grab_focus (header_view); + } else if (GTK_IS_HTML (focused_widget)) { gtk_html_select_all (GTK_HTML (focused_widget)); } -- 1.7.9.5