Since "Printer Test Page" prints CUPS' testing page, we don't
need to make it insensitive when the printer doesn't support
"PrintSelfTestPage" maintenance command.
Send CUPS' testing ps file to the selected printer when
user press "Print Test Page" button. Fallback to maintenance
command "PrintSelfTestPage" if the file doesn't exist.
pkg-config --cflags gsettings-desktop-schemas lists:
$incdir/gsettings-desktop-schemas
and that directory contains a gdesktop-enums.h file, so including
<gsettings-desktop-schemas/gdesktop-enums.h> will fail unless
the parent directory also accidentally got added as -I.
Show "No printer available" in the device list.
Show "Add New Printer" button on the right side.
Show appropriate message if CUPS is not running.
Fixes#641421.
The dialog is able to add printers discovered by cupsGetDevices().
It can also add printers from a remote CUPS server by typing
its address and selecting printer we want to add (#640734).
Don't include owner's name in the list (it is actual user).
Left align text in rows. Take into account system settings
when showing time (12h/24h). Show headers.
Set minimal width of renderer showing names of printers to 120 pixels.
Set also ellipsizing for the renderer. Set some widgets insensitive
when there is no printer (#641421). Set correct character for empty
fields. Always set background color for supply levels' GtkDrawingArea.
Show Ink/Toner levels in one rectangle now. It sorts
levels and shows the highest level. It paints the lower
levels on top of that. So the lowest level is on top
(overlapping the others).
It also shows "Ink Level"/"Toner Level"/"Supply Level"
label for corresponding supplies now.
Remove printer's description.
Remove "Clean Print Heads" button.
Move allowed users list to Options tab.
Change printer-disable-button to GtkSwitch.
Show printer's model name.
Show an icon of printer.
Due to custom styles, toolbars can look very different
from the rest of panel. This changes toolbar which
contains controls for adding/removing allowed users
to horizontal box.
Shows supply levels for printers which return marker-levels,
marker-colors and marker-names attributes.
There are 2 things to finish here:
- set properly background color of the drawing area
- remove backslashes from names of marker-names