Merge lp:~ubuntu-multiseat/lightdm/simple-globbing-in-seat-config-section into lp:lightdm
Proposed by
Laércio de Sousa
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~ubuntu-multiseat/lightdm/simple-globbing-in-seat-config-section | ||||
Merge into: | lp:lightdm | ||||
Diff against target: |
243 lines (+146/-23) 4 files modified
src/lightdm.c (+36/-23) tests/Makefile.am (+2/-0) tests/scripts/multi-seat-with-globbing-config-sections.conf (+106/-0) tests/test-multi-seat-with-globbing-config-sections (+2/-0) |
||||
To merge this branch: | bzr merge lp:~ubuntu-multiseat/lightdm/simple-globbing-in-seat-config-section | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Ancell | Needs Fixing | ||
Review via email: mp+232398@code.launchpad.net |
This proposal has been superseded by a proposal from 2014-09-03.
Description of the change
Add support for simple globbing in seat config sections.
Example: if a config section [Seat:seatFoo*] is available in lightdm.conf, it will match any seat name starting with "seatFoo", like "seatFooBar", "seatFooBaz", etc.
In particular, [Seat:seat*] will match any seat added from logind (including seat0), and [Seat:*] will match any seat (including those eventually added from other mechanisms than logind), just as [SeatDefaults] currently does.
To post a comment you must log in.
[NEW ISSUE] New function get_config_ section( ) should return a list of all available globbing config sections that match a given seat name (including the exact match), not only the first occurrence.