Merge lp:~3v1n0/unity-greeter/shutdown-fade into lp:unity-greeter
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | 1052 |
Merged at revision: | 1024 |
Proposed branch: | lp:~3v1n0/unity-greeter/shutdown-fade |
Merge into: | lp:unity-greeter |
Prerequisite: | lp:~3v1n0/unity-greeter/shutdown-blurred-bg |
Diff against target: |
164 lines (+57/-12) 3 files modified
src/animate-timer.vala (+13/-7) src/main-window.vala (+2/-2) src/shutdown-dialog.vala (+42/-3) |
To merge this branch: | bzr merge lp:~3v1n0/unity-greeter/shutdown-fade |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Approve | ||
Review via email: mp+194972@code.launchpad.net |
Commit message
ShutdownDialog: fade-in/out the dialog when opening/closing it
The old "close" signal is now a method, while the view actually closes
on "closed" signal callback in main window.
Description of the change
Fade the shutdown dialog in/out when showing/hiding it.
Changed the behavior of the AnimateTimer so that it won't stop if the easing curve value reaches the 1.0f progress (it might be only a peek, depending on the easing curve we use); always care about time progress only instead.
To post a comment you must log in.
Incorrect indentatin
121 + if (p >= 1.0f)
122 + {
123 + animation.stop ();
124 + closed ();
125 + }
Otherwise works great!