3643
|
|
|
William Hua |
10 years ago
|
|
|
3642
|
|
|
William Hua |
10 years ago
|
|
|
3641
|
|
|
Eleni Maria Stea |
10 years ago
|
|
|
3640
|
|
|
Eleni Maria Stea |
10 years ago
|
|
|
3639
|
|
PanelMenuView: show a dropdown menu of indicators, if there's no enough horizontal space
PanelService: add new dbus method ShowEntriesDropdown that when called puts the requested indicator entires into a DropDown menu before showing them, also threat dropdown menus as special entries when the their geometry has been synced.
UnityCore: add add ShowEntriesDropdown virtual method as well and implement in DBusIndicators, to call the relative method in PanelService. Add parents to indicator::Entry, now an entry can have one or more parents (that's mostly depending on how many monitors we have), and if parented, it notifies active, show_now and geometry status to them. API cleanups included, SO-name bumped.
PanelView: add simpler PreLayoutManagement function, to avoid nux to do too many computations that will cause the Menu to relayout too much with no need.
Added PanelIndicatorEntryDropdownView as new subtype of PanelIndicatorEntryView that will show a go-down icon on the PanelMenuView that when clicked will show a dropdown menu of indicators. This will happen only if there's not enough room to see them inline.
PanelIndicatorsView: many cleanups, and add EnableDropdownMenu that creates a new PanelIndicatorEntryDropdownView and uses it to place the entries that don't fit the available space, until we don't get some more.
Added and reworked a bunch of unit tests. Fixes: https://bugs.launchpad.net/bugs/1274554.
Approved by Christopher Townsend, PS Jenkins bot.
|
Marco Trevisan (Trev... |
10 years ago
|
|
|
3638
|
|
|
Brandon Schaefer |
10 years ago
|
|
|
3637
|
|
|
Brandon Schaefer |
10 years ago
|
|
|
3636
|
|
|
Chris Townsend |
10 years ago
|
|
|
3635
|
|
|
Brandon Schaefer |
10 years ago
|
|
|
3634
|
|
|
Chris Townsend |
10 years ago
|
|
|
3633
|
|
|
Brandon Schaefer |
10 years ago
|
|
|
3632
|
|
|
Marco Trevisan (Trev... |
10 years ago
|
|
|
3631
|
|
|
George Karavasilev |
10 years ago
|
|
|
3630
|
|
|
Chris Townsend |
10 years ago
|
|
|
3629
|
|
|
Chris Townsend |
10 years ago
|
|
|
3628
|
|
|
Brandon Schaefer |
10 years ago
|
|
|
3627
|
|
|
Chris Townsend |
10 years ago
|
|
|
3626
|
|
|
Chris Townsend |
10 years ago
|
|
|
3625
|
|
|
Brandon Schaefer |
10 years ago
|
|
|
3624
|
|
|
Chris Townsend |
10 years ago
|
|
|