Merge lp:~mterry/unity-greeter/button-fixups into lp:unity-greeter
Status: | Merged |
---|---|
Approved by: | Robert Ancell |
Approved revision: | 629 |
Merged at revision: | 645 |
Proposed branch: | lp:~mterry/unity-greeter/button-fixups |
Merge into: | lp:unity-greeter |
Diff against target: |
457 lines (+231/-107) 8 files modified
src/Makefile.am (+2/-0) src/dash-box.vala (+3/-3) src/dash-button.vala (+4/-2) src/flat-button.vala (+66/-0) src/main-window.vala (+2/-2) src/prompt-box.vala (+2/-3) src/session-list.vala (+21/-97) src/toggle-box.vala (+131/-0) |
To merge this branch: | bzr merge lp:~mterry/unity-greeter/button-fixups |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Unity Greeter Development Team | Pending | ||
Review via email: mp+131085@code.launchpad.net |
Description of the change
This makes the buttons like the session change button in the greeter act "flat" (no visual change when clicked or moused over), while still letting a focus border appear when navigating with the keyboard.
It also adds a border around the session chooser list like the mockups have.
One unfortunate thing is that in order to achieve the flat look, I needed to override "pressed" and "released" methods in Gtk.Button which are marked deprecated by vala. (They are deprecated for API use, but they are internally used and I needed to override those functions specifically.) I could not find a way to shut valac up about it. So this branch adds two warnings to the build.