Commit 769757b
authored
[email protected]: Rework layout, use cupsd dbus notifications (#13674)
for printer and job info.
We've long used the cupsd notifier to tell us when to run shell
commands that collect job and printer data, but this data has been
provided by these notifications all along, and it much more relable
than parsing shell output (which can change unexpectedly with new
versions or on different distributions).
- Stop using shell commands to gather job and printer information.
They're now used only to cancel or prioritize jobs, and for basic
printer discovery at startup.
- Organize jobs under each printer when multiple printers are
available.
- Provide access to individual printer properties.
- Move the 'Printers' menu item to the context menu, except when no
printers have been discovered.
- Use job/printer state-reasons for reporting abnormal conditions
such as no-paper. Icon changes accordingly.
- Cancel-all avoids permission issues for some users by cancelling
jobs individually (credit @hans-fritz-pommes)
- Cancel prompts use native Cinnamon dialogs.
- Some translatable strings updated, mainly for case consistency.1 parent a00cb8b commit 769757b
5 files changed
Lines changed: 551 additions & 246 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
| |||
0 commit comments