Merge lp:~donadigo/switchboard/fix-duplicated-plug-navigation into lp:~elementary-pantheon/switchboard/switchboard
Proposed by
Adam Bieńkowski
Status: | Merged |
---|---|
Approved by: | Felipe Escoto |
Approved revision: | 638 |
Merged at revision: | 638 |
Proposed branch: | lp:~donadigo/switchboard/fix-duplicated-plug-navigation |
Merge into: | lp:~elementary-pantheon/switchboard/switchboard |
Diff against target: |
15 lines (+4/-1) 1 file modified
src/Switchboard.vala (+4/-1) |
To merge this branch: | bzr merge lp:~donadigo/switchboard/fix-duplicated-plug-navigation |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Felipe Escoto (community) | Approve | ||
Review via email: mp+297769@code.launchpad.net |
Commit message
* Fix bug #1593738: "Duplicated plug navigation".
Description of the change
Fixes bug #1593738: "Duplicated plug navigation".
A simple check if the plug is not the same as last time will fix the navigation button glitch.
To post a comment you must log in.
This should simplify the code since an OR will stop if the first one is true :)
previous_plugs.size == 0 || previous_plugs.@get (0) != plug