Project

General

Profile

scroll-center.patch

John Lindgren, April 01, 2014 04:40

View differences:

src/libaudgui/list.c
857 857

  
858 858
    GtkTreePath * path = gtk_tree_path_new_from_indices (row, -1);
859 859
    gtk_tree_view_set_cursor ((GtkTreeView *) list, path, NULL, FALSE);
860
    gtk_tree_view_scroll_to_cell ((GtkTreeView *) list, path, NULL, FALSE, 0, 0);
860
    gtk_tree_view_scroll_to_cell ((GtkTreeView *) list, path, NULL, TRUE, 0.5, 0);
861 861
    gtk_tree_path_free (path);
862 862

  
863 863
    model->frozen = FALSE;