Merge lp:~3v1n0/unity-greeter/shutdown-buttons-fixes into lp:unity-greeter
Proposed by
Marco Trevisan (Treviño)
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Robert Ancell | ||||||||||||
Approved revision: | 1020 | ||||||||||||
Merged at revision: | 1019 | ||||||||||||
Proposed branch: | lp:~3v1n0/unity-greeter/shutdown-buttons-fixes | ||||||||||||
Merge into: | lp:unity-greeter | ||||||||||||
Diff against target: |
216 lines (+71/-35) 2 files modified
data/Makefile.am (+2/-1) src/shutdown-dialog.vala (+69/-34) |
||||||||||||
To merge this branch: | bzr merge lp:~3v1n0/unity-greeter/shutdown-buttons-fixes | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Approve | ||
Review via email: mp+194725@code.launchpad.net |
Commit message
ShutdownDialog: match the close button state and fix paddings
Description of the change
The close button didn't update to match the current button state (prelighted or activated), code updated to make it work. Some code cleanup of the DialogButton class as well.
Fixed the main vbox margings to match the real unity dialogs and fixed the internal padding of the dialog buttons.
Unfortunately, this was caused by the theming of the GtkButton and the fastest way I found was to just ignore theming for such buttons not to re-implement buttons logic by scratch.
Here's how it looks after these fixes: http://
To post a comment you must log in.
Looks good!