| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The dialog is now displayed by calling gtk_dialog_run and
gtk_window_set_transient_for in the window displaying the dialog.
Cleanup is handled using gtk_widget_destroy.
Destructors in the windows using the dialog no longer cleanup the dialog
as it is assumed it will be either cleaned up after the response
callback, or handled by the destroy_with_parent property set on the
dialog itself.
|
|
|
|
|
|
| |
printer_set_ppd_async and printer_set_ppd_file_async copy the printer name, but
this isn't freed in any cases that use these callback (the string isn't even
used at all).
|
|
|
|
|
|
|
|
|
|
|
| |
G_IS_OBJECT checks fail when calling g_signal_connect_object because
PpPPDSelectionDialog is a struct, not a type descending from G_OBJECT.
This makes the changes required for PpPPDSelectionDialog to be a
GObject, and defines PpPPDSelectionDialog as a GObject. It also updates
consumers of PpPPDSelectionDialog to destroy created PpPPDSelectionDialogs as GObjects.
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1126
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Use the dialog cancellable instead of leaking one each time the PPD is set.
|
|
|
|
| |
Otherwise this could crash if the dialog is destroyed before the PPD is set.
|
|
|
|
|
| |
The cancellable is only used to cancel when the dialog is destroyed, so you can
share it for all calls.
|
| |
|
| |
|
|
|
|
|
| |
g_cancellable_cancell can be called without checking for a NULL value.
Use g_clear_object instead of g_object_unref
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
During the time it took to rename a printer asynchronously, we had
cases where two entries were shown for the same printer: one with
the old name and another with a new name.
Now we signal from DetailsDialog to the given PrinterEntry which
passes it along to the main panel object. The CcPrintersPanel object
blacklists the renamed printer old name.
https://bugzilla.gnome.org/show_bug.cgi?id=790361
|
|
|
|
|
|
|
|
|
| |
Printers with long names were causing the "Printer Details Dialog"
to expande horizontally.
This patch ellipsizes the custom title of the dialog.
https://bugzilla.gnome.org/show_bug.cgi?id=779071
|
|
|
|
|
|
|
|
|
|
|
| |
pp_printer_rename_async is better than the old printer_rename
utility.
The PpDetailsDialog doesn't need to do anything in the callback
since we are emiting the "printer-changed" signal when the dialog
is closed.
https://bugzilla.gnome.org/show_bug.cgi?id=769114
|
|
|
|
|
|
|
|
| |
Since we are already applying the changing in the PpDetailsDialog
when it gets closed, there's no need to apply these changes in
the focus-out-event of its respective GtkEntries.
https://bugzilla.gnome.org/show_bug.cgi?id=769114
|
|
|
|
|
|
|
|
| |
This patch individually updates the sensitivity of the
PpDetailsDialog child widgets, so we can leave the printer
address label always sensitive.
https://bugzilla.gnome.org/show_bug.cgi?id=778682
|
|
This dialog handles the editing of printer properties such as
name, location, automatic discovery of driver, manual selection
of printer driver, and manual selection of ppd file.
https://bugzilla.gnome.org/show_bug.cgi?id=767600
|