- 29 Oct, 2020 1 commit
-
-
Robert Ancell authored
Remove the GObject properties that aren't type safe.
-
- 22 Sep, 2020 3 commits
-
-
Robert Ancell authored
An internal GTask will hold a reference to it for the duration of the async call.
-
Robert Ancell authored
They were not unreferenced in the callback.
-
Robert Ancell authored
An internal GTask will hold a reference to it for the duration of the async call.
-
- 20 Jul, 2020 1 commit
-
-
Yuri Chornoivan authored
-
- 02 Jul, 2020 1 commit
-
-
Robert Ancell authored
-
- 22 Jun, 2020 1 commit
-
-
Marek Kašík authored
Goal of this commit is to not overwhelm UI when a lot of printers is added to CUPS. You can reproduce this situation when you add e.g. 30 printers using lpadmin. Th UI stops to respond for some time. To do so, the printer entries are not deleted every time there is a request for updating of the list of printers but only new printer entries are added and printer entries of deleted printers are removed. Other printer entries are just updated by new method pp_printer_entry_update(). Which, by the way, is almost whole taken from pp_printer_entry_new(). This needed to add sort function for the list of printer entries. It sorts printers according to their names not taking case into account. In the similar manner, the filter function was extended to not show printers which are being deleted. This needs a list of names of deleted printers which we keep until they are really deleted. One important thing here is the "reference" object which points to the panel itself via its "self" key. We pass this object to the pp_printer_delete_async()'s callback so it knows whether it can remove the printer's name from the list of deleted printers (once the panel is being destroyed it clears the key itself).
-
- 30 Mar, 2020 1 commit
-
-
Robert Ancell authored
-
- 28 Jan, 2020 2 commits
-
-
Robert Ancell authored
-
Robert Ancell authored
-
- 21 Jan, 2020 1 commit
-
-
Robert Ancell authored
This makes the memory able to be managed with g_autoptr. This fixes a memory leak where the job list was leaked if the operation was cancelled.
-
- 10 Sep, 2019 5 commits
-
-
Robert Ancell authored
-
Robert Ancell authored
-
Robert Ancell authored
-
Robert Ancell authored
It is removed in GTK+ 4
-
Robert Ancell authored
-
- 04 Feb, 2019 1 commit
-
-
Robert Ancell authored
-
- 29 Jan, 2019 3 commits
-
-
Robert Ancell authored
-
Robert Ancell authored
Use g_clear_* functions to simplify code and ensure values are set to NULL after freeing.
-
Robert Ancell authored
-
- 17 Sep, 2018 2 commits
-
-
Robert Ancell authored
The extra argument doesn't seem to be used, but is confusing.
-
Robert Ancell authored
-
- 30 Jul, 2018 1 commit
-
-
Robert Ancell authored
-
- 25 Jun, 2018 1 commit
-
-
Robert Ancell authored
-
- 01 Jun, 2018 1 commit
-
-
Robert Ancell authored
g_cancellable_cancell can be called without checking for a NULL value. Use g_clear_object instead of g_object_unref
-
- 26 Feb, 2018 1 commit
-
-
Marek Kašík authored
Add action "show-jobs" to printers panel which gets printer name as a parameter and shows user jobs dialog. Syntax for trigerring this action looks like: "gnome-control-center printers show-jobs my-local-printer". https://bugzilla.gnome.org/show_bug.cgi?id=758170
-
- 20 Feb, 2018 1 commit
-
-
Marek Kašík authored
This commit adds method for triggerring of authentication of print jobs to PpPrinterEntry. This is needed for asking for authentication of jobs of a printer from the main panel. https://bugzilla.gnome.org/show_bug.cgi?id=758170
-
- 05 Feb, 2018 1 commit
-
-
Felipe Borges authored
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
-
- 21 Nov, 2017 1 commit
-
-
Felipe Borges authored
We were checking for the ink supply level at the callback of the supply bar "draw" signal. This way we were making the the widget visible, causing it to allocate vertical space even when it isn't desired. Now we check for the supply level before setting the visiblity of the supply level widget. https://bugzilla.gnome.org/show_bug.cgi?id=790667
-
- 25 Jul, 2017 1 commit
-
-
Felipe Borges authored
This is a typo related to the fix at commit 7d254442.
-
- 20 Jul, 2017 1 commit
-
-
Felipe Borges authored
We just present the printer "Model" when printer_make_and_model is different than NULL OR not an empty string. We were using the wrong logic operator in the conditional that toggles the visibility of this info.
-
- 15 Jun, 2017 1 commit
-
-
- 14 Jun, 2017 1 commit
-
-
- 26 May, 2017 2 commits
-
-
Felipe Borges authored
Instead of directly applying the deletion of a printer, we should follow the GNOME in-app notification deletion guidelines. This patch introduces the in-app notification following the HIG[0] for the deletion of a printer. It allows to "undo" the deletion. The default behavior for these notification is to dismiss a previous notification. In doing so, when deleting multiple printers, the "Undo" button only restores the last deleted one. We don't do batch/ bulk removal in the printers panel. [0] https://developer.gnome.org/hig/stable/in-app-notifications.html.en https://bugzilla.gnome.org/show_bug.cgi?id=693187
-
Felipe Borges authored
Introduce pp_printer_delete_async () https://bugzilla.gnome.org/show_bug.cgi?id=693187
-
- 10 May, 2017 1 commit
-
-
Felipe Borges authored
Show printer search results where the searched string matches the printer-location. https://bugzilla.gnome.org/show_bug.cgi?id=779656
-
- 09 May, 2017 2 commits
-
-
Felipe Borges authored
Due to the recent changes towards the new design, it became slightly harder to find a printer given a long list of entries. This patch introduces search capabilities to the panel, filtering based on the printer name. https://bugzilla.gnome.org/show_bug.cgi?id=779656
-
Felipe Borges authored
By making the printers list a GtkListBox instead of a GtkBox, we can use listbox's capabilities for sorting and filter. https://bugzilla.gnome.org/show_bug.cgi?id=779656
-
- 23 Mar, 2017 1 commit
-
-
Mario Sanchez Prada authored
Add an extra button "Clean Print Heads" that will be shown when the relevant maintenance command is available for a printer, to bring this feature back. Additionally, this commit adds a 'parameters' attribute to PpMaintenanceCommand, which is needed as the "Clean" command requires to at least be passed "all" as its single parameter: https://www.cups.org/doc/spec-command.html#Clean https://bugzilla.gnome.org/show_bug.cgi?id=764620
-
- 13 Mar, 2017 1 commit
-
-