diff options
author | 2013-11-10 21:12:38 +0100 | |
---|---|---|
committer | 2013-11-10 21:12:38 +0100 | |
commit | d6adde37a4381f62dc827da5cb20834739b8fdca (patch) | |
tree | 9d3783f45587df78919561eb00f1c6c83c63f7c9 /plugins | |
parent | c76f2d3cc4fb0b07ee8136ce9e119654dda0e4f7 (diff) |
gtkui: set hscrollpos to 0 upon hiding the horz scrollbar
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtkui/ddblistview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/gtkui/ddblistview.c b/plugins/gtkui/ddblistview.c index cec81177..7f6bca67 100644 --- a/plugins/gtkui/ddblistview.c +++ b/plugins/gtkui/ddblistview.c @@ -1204,6 +1204,7 @@ ddb_listview_list_setup_hscroll (DdbListview *ps) { GtkWidget *scroll = ps->hscrollbar; if (w >= size) { gtk_widget_hide (scroll); + ps->hscrollpos = 0; gtk_widget_queue_draw (ps->list); } else { |