zhuyaliang
51760441b3
printers: Add adjust printer task priority button
...
Add a new button to the 'PpJobRow',This button can adjust the priority of tasks in the print queue to the highest
2021-11-10 15:10:20 +00:00
Robert Ancell
2def271824
printers: Add pp_job_new and associated methods.
...
The previous code was leaking a string (job title), used an integer pointer
instead of an integer for an id and requited a lot of memory management for a
string array. There was a lot of boilerplate code required for property
management which was not being used much. This is why type safe methods are a
much better idea than GObject properties. :)
2020-10-27 13:03:56 +00:00
Robert Ancell
f3bf0080d7
printers: Don't pass GDBusConnection references around
...
An internal GTask will hold a reference to it for the duration of the async call.
2020-09-22 21:23:04 +00:00
Robert Ancell
b2c5056031
printers: Use g_autoptr
2020-09-22 21:23:04 +00:00
Robert Ancell
3a7533da1b
printers: Use g_autoptr for the results of D-Bus calls
2020-03-30 03:24:58 +00:00
Marek Kasik
2b1f76f8ea
printers: Revert previous 2 commits
...
I'm sorry, I pushed to wrong branch. This code is
for testing now and will be proposed later, after
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/108
will be merged.
2019-05-24 19:12:00 +02:00
Marek Kasik
21df888699
printers: Do not notify about job edited by user
...
Let gnome-settings-daemon know about intention to edit a job
so it does not show notification for this action as it
was initiated manually by user.
Do this via g-s-d's DBus method DoNotNotifyJob.
2019-05-24 19:07:55 +02:00
Marek Kasik
86c7505dee
printers: Use correct type for print job id
...
There was pointer to integer used instead of integer for job_id in 2 functions.
This actually works somehow but I'm changing it to proper integer.
2019-05-24 19:07:52 +02:00
Robert Ancell
e9b9966e7d
printers: Use g_autoptr with strings
2019-02-05 10:26:15 +13:00
Robert Ancell
47cd15d911
printers: Use self variable to match coding style
2019-01-30 11:33:28 +13:00
Robert Ancell
85604ab4f0
printers: Simplify finalize/dispose methods
...
Use g_clear_* functions to simplify code and ensure values are set to NULL after freeing.
2019-01-30 11:33:28 +13:00
Robert Ancell
4042cb5d33
printers: Replace GObject boilerplace with G_DECLARE_TYPE
2019-01-30 11:33:28 +13:00
Robert Ancell
877445cbaf
printers: Use g_autoptr for GError handling
2018-09-17 15:19:21 +00:00
Marek Kasik
589a1cf615
Printers: Add ability to authenticate print jobs
...
Add pp_job_authenticate_async() and pp_job_authenticate_finish()
methods for authentication of PpJob.
This commit also adds "auth-info-required" property to PpJob
https://bugzilla.gnome.org/show_bug.cgi?id=758170
2018-02-20 01:12:19 +01:00
Hiroshi Takekawa
6ed989a544
printers: add compatibility code for older cups
...
https://bugzilla.gnome.org/show_bug.cgi?id=764780
2016-04-08 16:02:45 +02:00
Felipe Borges
dc7b78ca42
printers: get printer job attributes async
...
https://bugzilla.gnome.org/show_bug.cgi?id=748336
2016-03-03 16:05:56 +01:00
Felipe Borges
8baaa81a39
printers: redesign the Printer Jobs Dialog
...
Update the Printer Jobs Dialog to match the current designs at
https://wiki.gnome.org/Design/SystemSettings/Printers
https://bugzilla.gnome.org/show_bug.cgi?id=755626
2016-01-21 15:08:05 +01:00