summaryrefslogtreecommitdiff
path: root/src/yelp-view-content.c
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2002-08-28 09:20:45 +0000
committerMikael Hallendal <hallski@src.gnome.org>2002-08-28 09:20:45 +0000
commitefbc653fb8e0fcfc84ab40c9989071e92cda3825 (patch)
tree14d192719ae391ae7daa402e8a5a0f37110529cb /src/yelp-view-content.c
parentaffe3952575977cf8deb0e27475dde21ee156c6b (diff)
downloadyelp-efbc653fb8e0fcfc84ab40c9989071e92cda3825.tar.gz
don't just select that path, but set the cursor at that path (fixes
2002-08-27 Kristian Rietveld <kris@gtk.org> * src/yelp-view-content.c (content_reader_finished_cb): don't just select that path, but set the cursor at that path (fixes #91609).
Diffstat (limited to 'src/yelp-view-content.c')
-rw-r--r--src/yelp-view-content.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yelp-view-content.c b/src/yelp-view-content.c
index d7d2bdee..5652bac7 100644
--- a/src/yelp-view-content.c
+++ b/src/yelp-view-content.c
@@ -316,7 +316,9 @@ content_reader_finished_cb (YelpReader *reader,
content_tree_selection_changed_cb,
view);
- gtk_tree_selection_select_path (selection, path);
+/* gtk_tree_selection_select_path (selection, path); */
+ gtk_tree_view_set_cursor (GTK_TREE_VIEW (priv->content_tree),
+ path, NULL, FALSE);
g_signal_handlers_unblock_by_func (
selection,