* Fixed problem with focus and move_to operation.
authorJavier Fernandez Garcia-Boente <jfernandez@igalia.com>
Wed, 20 Jun 2007 11:48:47 +0000 (11:48 +0000)
committerJavier Fernandez Garcia-Boente <jfernandez@igalia.com>
Wed, 20 Jun 2007 11:48:47 +0000 (11:48 +0000)
pmo-trunk-r2330

src/maemo/modest-msg-edit-window.c
src/modest-ui-actions.c

index b9487e5..79e0fcc 100644 (file)
@@ -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;
                }
        }
index e177ba1..626b997 100644 (file)
@@ -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));
        }