gnome-control-center/panels/printers
Marek Kasik 5ceabcb5c7 printers: Show empty-state after removal of the last printer
Check whether the currently removed printer was last. Also
check whether there are other printer being removed by CUPS
right now (their amount is still part of self->num_dests).

Do this check also in actualize_printers_list_cb() to catch
corner cases from timing point of view. This will handle them
with some delay if they show up.

When undone, just check whether the number of printers is higher
than 0 and show the printers-list page.

Fixes #2023
2022-08-18 17:01:02 +02:00
..
icons Add individual app icons 2022-01-31 14:08:22 +00:00
cc-printers-panel.c printers: Show empty-state after removal of the last printer 2022-08-18 17:01:02 +02:00
cc-printers-panel.h printers: Replace ifdefs with #pragma once 2019-01-30 11:33:28 +13:00
gnome-printers-panel.desktop.in.in Add individual app icons 2022-01-31 14:08:22 +00:00
meson.build printers: Remove authentication-dialog.ui 2022-02-22 12:44:12 +01:00
new-printer-dialog.ui Printer panel a11y fixes 2022-06-20 23:04:56 +00:00
pp-cups.c printers: Use g_autoptr 2020-09-22 21:23:04 +00:00
pp-cups.h printers: Replace ifdefs with #pragma once 2019-01-30 11:33:28 +13:00
pp-details-dialog.c printers: Check for invalid characters in printer names 2022-05-10 05:11:51 +00:00
pp-details-dialog.h printers: use gtk_dialog_run 2019-09-10 00:18:53 +00:00
pp-details-dialog.ui printers: Add label for invalid characters in printer name 2022-05-10 05:11:51 +00:00
pp-host.c printers: Replace PpDevicesList with standard GPtrArray 2020-07-20 14:14:44 +12:00
pp-host.h printers: Replace PpDevicesList with standard GPtrArray 2020-07-20 14:14:44 +12:00
pp-ipp-option-widget.c printers: Use a GtkDropDown in PpOptionsDialog 2022-04-05 11:52:00 -03:00
pp-ipp-option-widget.h printers: Replace ifdefs with #pragma once 2019-01-30 11:33:28 +13:00
pp-job-row.c Fix formatting 2022-06-20 23:04:56 +00:00
pp-job-row.h printers: Add adjust printer task priority button 2021-11-10 15:10:20 +00:00
pp-job-row.ui printers: Port to GTK4 2021-12-14 22:34:21 -03:00
pp-job.c printers: Add adjust printer task priority button 2021-11-10 15:10:20 +00:00
pp-job.h printers: Add adjust printer task priority button 2021-11-10 15:10:20 +00:00
pp-jobs-dialog.c printers: Port to GTK4 2021-12-14 22:34:21 -03:00
pp-jobs-dialog.h printers: Convert jobs dialog to use GtkTemplate 2020-01-28 14:46:53 +00:00
pp-jobs-dialog.ui Printer panel a11y fixes 2022-06-20 23:04:56 +00:00
pp-maintenance-command.c printers: Use g_autoptr 2020-09-22 21:23:04 +00:00
pp-maintenance-command.h printers: Replace ifdefs with #pragma once 2019-01-30 11:33:28 +13:00
pp-new-printer-dialog.c printers: Destroy ppd selection dialog explicitly 2022-03-02 11:03:59 +00:00
pp-new-printer-dialog.h Return a PpNewPrinter instead of PpPrintDevice, use gtk_show_all 2021-07-26 16:03:05 +00:00
pp-new-printer.c printers: Don't pass PpMaintenanceCommand references around 2020-09-22 21:23:05 +00:00
pp-new-printer.h printers: Replace ifdefs with #pragma once 2019-01-30 11:33:28 +13:00
pp-options-dialog.c printers: Port to GTK4 2021-12-14 22:34:21 -03:00
pp-options-dialog.h printers: Make the options dialog a full widget using GtkTemplate 2019-09-10 12:36:38 +12:00
pp-options-dialog.ui printers: Port to GTK4 2021-12-14 22:34:21 -03:00
pp-ppd-option-widget.c printers: Use a GtkDropDown in PpOptionsDialog 2022-04-05 11:52:00 -03:00
pp-ppd-option-widget.h printers: Replace ifdefs with #pragma once 2019-01-30 11:33:28 +13:00
pp-ppd-selection-dialog.c ppd_list is not a copy, don't free it. 2021-07-26 16:03:05 +00:00
pp-ppd-selection-dialog.h Change PpPPDSelectionDialog to GtkDialog 2021-01-08 02:49:32 +00:00
pp-print-device.c Fix minor typos 2020-07-20 10:38:09 +03:00
pp-print-device.h printers: Replace ifdefs with #pragma once 2019-01-30 11:33:28 +13:00
pp-printer-entry.c printers: Check for invalid characters in printer names 2022-05-10 05:11:51 +00:00
pp-printer-entry.h printers: Add methods for getting printer name and location 2020-10-29 20:36:48 +00:00
pp-printer.c printers: Add adjust printer task priority button 2021-11-10 15:10:20 +00:00
pp-printer.h printers: Add methods for getting printer name and location 2020-10-29 20:36:48 +00:00
pp-samba.c printers: Replace PpDevicesList with standard GPtrArray 2020-07-20 14:14:44 +12:00
pp-samba.h printers: Replace PpDevicesList with standard GPtrArray 2020-07-20 14:14:44 +12:00
pp-utils.c printers: Fix missing const on string parameter 2022-05-11 12:16:25 +12:00
pp-utils.h printers: Fix missing const on string parameter 2022-05-11 12:16:25 +12:00
ppd-selection-dialog.ui printers: Remove redundant UI properties 2022-02-04 17:50:04 +01:00
printer-entry.ui panels: Use icon-name property instead 2022-07-20 14:15:57 +02:00
printers.gresource.xml printers: Remove authentication-dialog.ui 2022-02-22 12:44:12 +01:00
printers.ui panels: Use icon-name property instead 2022-07-20 14:15:57 +02:00