Launcher: list recently opened apps first, latest first
- Apps opened recently now lead the launcher and the desktop, newest first, ahead of the defaults. - Remember up to 200 launches (was 8), so the recent order holds over time. - Apps not recently opened follow the defaults, then the rest A-Z. - Add a test for the launcher order and for recents moving apps in and out. - Update the Desk::shown and default-group comments to match. - Update the display interface with the touch seat events.
This commit is contained in:
1 parent
e30d9cc71f
commit
cb0ff0715e
3 files changed
+45
-13
No files matched your search
@@ -123,8 +123,8 @@ pub fn Desk::grid(self : Desk) -> (Int, Int) {
|
||||
(if cols < 1 { 1 } else { cols }, if rows < 1 { 1 } else { rows })
|
||||
}
|
||||
|
||||
///| The apps on the desktop: the first `count` of the catalog (its defaults and recent apps come
|
||||
/// first).
|
||||
///| The apps on the desktop: the first `count` of the catalog (its recently opened apps come
|
||||
/// first, then the defaults).
|
||||
pub fn Desk::shown(self : Desk, apps : Array[@types.AppEntry]) -> Array[@types.AppEntry] {
|
||||
let n = match self.count {
|
||||
"All" => apps.length()
|
||||
|
||||
Reference in new issue
Block a user