Merge ~quequotion/plank:instance_controls into plank:master
Proposed by
quequotion
Status: | Needs review |
---|---|
Proposed branch: | ~quequotion/plank:instance_controls |
Merge into: | plank:master |
Diff against target: |
94 lines (+58/-3) 2 files modified
lib/Items/ApplicationDockItem.vala (+32/-3) lib/Services/WindowControl.vala (+26/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Docky Core | Pending | ||
Review via email: mp+390649@code.launchpad.net |
Commit message
Add window controls for individual instances as a submenu on window_item.
Description of the change
Allow plank to provide a submenu for controlling individual instances of an application when multiple instances are open.
This moves window switching from window_item into a submenu, also adding a close feature for individual instances and a minimize feature for an active instance.
For an active instance, the menu provides "Close" and "Minimize", while inactive instances (minimized, unfocused, on another viewport, etc) are provided "Close" and "Switch to".
Also adds two WindowControl routines for minimizing an individual instance and closing an individual instance.
To post a comment you must log in.