From 6c233b1d2e9cf8ea8444c6477eace4bbdc3d44d5 Mon Sep 17 00:00:00 2001 From: Maksym Veremeyenko Date: Mon, 27 Jun 2011 14:31:32 +0300 Subject: [PATCH 1/1] scroll to cell --- src/playlist.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/playlist.c b/src/playlist.c index aec310d..b2513db 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -297,6 +297,7 @@ void omnplay_playlist_draw(omnplay_instance_t* app) path = gtk_tree_path_new_from_indices(sels[1], -1); gtk_tree_selection_select_path(gtk_tree_view_get_selection(GTK_TREE_VIEW(app->playlist_grid)), path); gtk_tree_view_set_cursor(GTK_TREE_VIEW(app->playlist_grid), path, NULL, FALSE); + gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(app->playlist_grid), path, NULL, FALSE, 0, 0); gtk_tree_path_free(path); free(sels); -- 1.7.4.4