Don't crash when exiting from new printer dialog due to external change
of panel (e.g. clicking "Network Settings" during run of the new printer
dialog). (rhbz #760587)
Store subscription id returned by g_dbus_connection_signal_subscribe()
and unsubscribe the signal with it when not needed any more. This should
fix rhbz #752168.
Clean "~/.cups/lpoptions" file before setting default printer
on local CUPS server. Store default printer to "~/.cups/lpoptions"
if we are connected to a remote CUPS server (#646100).
This patch makes Printers panel to automatically refresh printers list
when a new printer is added or removed. It is refreshed also when a printer
changes its state (to see changes in paused/unpaused state) (rhbz#691718).
It also automatically refresh list of jobs (and also number of active jobs in
main tab) for actual printer (rhbz#691737).
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.