Skip to main content

Module quick

Module quick 

Source
Expand description

Quick settings: a small panel over the window it is asked in (admin.quick, Ctrl+Shift+Q) that edits a setting without the full Settings app. Before anything is typed it shows the settings the manifests mark quick (model::Manifest::quick), then those changed lately in this session (RECENT_SECONDS, at most RECENT_MAX); typing searches every setting. Each row is the Settings app’s own row: its editor, its reset, and its “Set for” choice only on a setting that also has a host level open now (a library). A change goes where the Settings app would write it, through the host’s store. Each row links to its page in Settings.

Each application window has its own panel, as the palette: it opens in the window it is asked in, and closes with it.

Constants§

CMD_QUICK
Opens and closes the quick settings in the window it is asked in.
RECENT_MAX
How many settings changed lately are shown at most.
RECENT_SECONDS
How long a change counts as lately, in seconds.

Functions§

now
Seconds since the epoch.