projects
/
melted_gui
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
b8d6baf
)
scroll to cell
author
Maksym Veremeyenko
<verem@m1stereo.tv>
Mon, 27 Jun 2011 11:31:32 +0000 (14:31 +0300)
committer
Maksym Veremeyenko
<verem@m1stereo.tv>
Mon, 27 Jun 2011 11:31:32 +0000 (14:31 +0300)
src/playlist.c
patch
|
blob
|
history
diff --git
a/src/playlist.c
b/src/playlist.c
index
aec310d
..
b2513db
100644
(file)
--- 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);