diff options
author | Mikael Hallendal <micke@codefactory.se> | 2002-03-23 15:48:09 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@src.gnome.org> | 2002-03-23 15:48:09 +0000 |
commit | bc634fd2566a5be9617c1b8c59364506da020648 (patch) | |
tree | d1ed055e67a499198b84e0c360dd1f2b247253f6 | |
parent | 5eea91668ae943be86c249b136aa9b86daaf54db (diff) | |
download | yelp-bc634fd2566a5be9617c1b8c59364506da020648.tar.gz |
scroll to the beginning of the document after reading it. Fixes #72965
2002-03-23 Mikael Hallendal <micke@codefactory.se>
* src/yelp-view-toc.c (yelp_view_toc_open_url): scroll to the
beginning of the document after reading it. Fixes #72965
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/yelp-view-toc.c | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2002-03-23 Mikael Hallendal <micke@codefactory.se> + * src/yelp-view-toc.c (yelp_view_toc_open_url): scroll to the + beginning of the document after reading it. Fixes #72965 + * src/yelp-util.c: (yelp_util_extract_docpath_from_uri): added an argument if we want the return docpath to be prepended with "ghelp:" or not. diff --git a/src/yelp-view-toc.c b/src/yelp-view-toc.c index 5789a5b0..133f3ae2 100644 --- a/src/yelp-view-toc.c +++ b/src/yelp-view-toc.c @@ -806,4 +806,7 @@ yelp_view_toc_open_url (YelpViewTOC *view, const char *url) } else { g_warning ("Unknown toc type %s\n", url); } + + gtk_adjustment_set_value ( + gtk_layout_get_vadjustment (GTK_LAYOUT (view)), 0); } |