Make header view not autoscroll in edit mode (nor force selection)
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 10 Dec 2008 17:01:39 +0000 (17:01 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 10 Dec 2008 17:01:39 +0000 (17:01 +0000)
pmo-drop-split-view-r6746

src/widgets/modest-header-view.c

index 0c98519..dd39afe 100644 (file)
@@ -949,11 +949,7 @@ modest_header_view_on_expose_event(GtkTreeView *header_view,
                return FALSE;
 
 #ifdef MODEST_TOOLKIT_HILDON2
-       HildonUIMode ui_mode;
-       g_object_get (G_OBJECT (header_view), "hildon-ui-mode", &ui_mode, NULL);
-       if (ui_mode == HILDON_UI_MODE_NORMAL)
-               /* As in hildon 2.2 normal mode there's no selection, we just simply return */
-               return FALSE;
+       return FALSE;
 #endif
        sel = gtk_tree_view_get_selection(header_view);
        if(!gtk_tree_selection_count_selected_rows(sel)) {