gnome-control-center/panels/printers
Brandon Nielsen 7c5beecc97 printers: Use a GtkDropDown in PpOptionsDialog
PpPpdOptionWidget and PpIppOptionWidget both use combo boxes for
certain types of selections. With GTK4, combo boxes no longer
support scrolling[0], which in turn causes problems setting some
things in the PpOptionsDialog[1].

This replaces instances of GtkComboBox with GtkDropDown which do
support scrolling. This change was applied to both PpIppOptionWidget
and PpPpdOptionWidget as both are used in PpOptions dialog.

Since the configuration values passed to CUPS can no longer be stored
in a GtkTreeModel alongside the displayed values, some logic changes
to update_widget_real in PpPpdOptionWidget to maintain the reference
to the ppd_option_t so the selected index can be mapped to the
configuration value.

[0] - https://gitlab.gnome.org/GNOME/gtk/-/issues/3674
[1] - https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1704
2022-04-05 11:52:00 -03:00
..
icons Add individual app icons 2022-01-31 14:08:22 +00:00
cc-printers-panel.c panels: Use new CcPanel helpers for title widgets 2022-01-20 02:23:42 +00: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 printers: Make search entry symetric 2022-02-11 13:18:15 +01: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: Show file chooser dialog when selecting PPD 2022-02-04 17:15:53 +01:00
pp-details-dialog.h printers: use gtk_dialog_run 2019-09-10 00:18:53 +00:00
pp-details-dialog.ui printers: Use bold font for title of details dialog 2022-02-11 13:18:15 +01: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 printers: Port to GTK4 2021-12-14 22:34:21 -03: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 printers: Port to GTK4 2021-12-14 22:34:21 -03: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: Port to GTK4 2021-12-14 22:34:21 -03: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: Ensure PPD copy is always deleted 2021-02-15 10:34:32 +13:00
pp-utils.h printers: Add note about callback that passed ownership 2021-02-15 10:34:32 +13:00
ppd-selection-dialog.ui printers: Remove redundant UI properties 2022-02-04 17:50:04 +01:00
printer-entry.ui printers: Fix blurred icons of printers 2022-02-11 13:18:15 +01:00
printers.gresource.xml printers: Remove authentication-dialog.ui 2022-02-22 12:44:12 +01:00
printers.ui Cleanup private use symbolics 2022-02-04 18:12:41 +00:00