Merge lp:~cimi/overlay-scrollbar/fix-733031 into lp:overlay-scrollbar

Proposed by Andrea Cimitan
Status: Merged
Merged at revision: 154
Proposed branch: lp:~cimi/overlay-scrollbar/fix-733031
Merge into: lp:overlay-scrollbar
Diff against target: 21 lines (+8/-1)
1 file modified
os/os-scrollbar.c (+8/-1)
To merge this branch: bzr merge lp:~cimi/overlay-scrollbar/fix-733031
Reviewer Review Type Date Requested Status
Loïc Molinari (community) Approve
Review via email: mp+52991@code.launchpad.net

Description of the change

Simply store more info on size_allocate

To post a comment you must log in.
154. By Andrea Cimitan

indentation

Revision history for this message
Loïc Molinari (loic.molinari) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'os/os-scrollbar.c'
2--- os/os-scrollbar.c 2011-03-10 17:18:51 +0000
3+++ os/os-scrollbar.c 2011-03-11 11:21:47 +0000
4@@ -1023,9 +1023,16 @@
5 }
6
7 if (priv->adjustment != NULL)
8- os_scrollbar_calc_layout_pager (scrollbar, priv->adjustment->value);
9+ {
10+ os_scrollbar_calc_layout_pager (scrollbar, priv->adjustment->value);
11+ os_scrollbar_calc_layout_slider (scrollbar, priv->adjustment->value);
12+ }
13
14 pager_set_allocation (scrollbar);
15+ pager_move (scrollbar);
16+
17+ if (gtk_widget_get_realized (widget))
18+ os_scrollbar_store_window_position (scrollbar);
19 }
20
21 static void

Subscribers

People subscribed via source and target branches