| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The Tracker3 schema points to the same dconf path and is backwards
compatible with Tracker 2.x settings. Check for either here, with a
preference to Tracker 3.x.
Eventually, Tracker 2.x will be fully phased out, and this will not
be necessary.
Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1173
|
| |
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
Remove the GObject properties that aren't type safe.
|
|
|
|
| |
Fixes #1160
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When swicthing configurations, we should ensure that the selected scale
is valid. This is complicated by the fact that it depends on other
factors whether we need a single global scale or not.
Try to retain the scale that monitors have if possible. If that does not
work, try to use the old scale of the primary monitor everywhere. This
should result in a good behaviour in most situations.
Co-authored-by: Stéphane Travostino <steph@combo.cc>
Fixes: #1038
|
|
|
|
|
|
|
|
| |
01874f7 added this `gtk_widget_show (label)` call, which seems to be
erroneous. The previous `g_object_new()` call had `"visible", FALSE,`.
It should only be shown when searching panels. This fixes that,
restoring the older behavior.
|
|
|
|
|
|
| |
Use g_steal_pointer() on task in get_bus_cb() in pp-printer.c
to not invalidate a pointer passed to a DBus call.
Cleanup the task in callback of the DBus call.
|
|
|
|
|
|
|
|
| |
Use power-profiles-daemon[1] to implement switchable power profiles.
The performance profile will only be available on systems which provide
this functionality.
[1]: https://gitlab.freedesktop.org/hadess/power-profiles-daemon
|
|
|
|
|
|
|
|
| |
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. :)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This eases the transition from g-c-c to malcontent-control a little.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/19
|
| |
|
|
|
|
| |
This improves compile time type checking.
|
|
|
|
| |
This improves compile time type checking.
|
|
|
|
| |
This improves compile time type checking.
|
|
|
|
| |
This improves compile time type checking.
|
|
|
|
| |
This improves compile time type checking.
|
|
|
|
|
|
|
|
|
| |
Previously, there were multiple redundant lists of possible values for
this setting. This uses one struct to define not only all the possible
values, but also anything specific to the alternate characters key, so
this can be used for other modifiers.
This also changes the style of the dialog to use a GtkListBox.
|
| |
|
|
|
|
| |
This had another slightly different version of the same code.
|
|
|
|
|
|
|
| |
It seems this was added in ee36b0df91, but the `status` variable has
been unused since a9683772d9 (committed in 2012).
Seems safe to remove if it's been unused since 2012.
|
|
|
|
|
|
|
| |
This was added in 6c447dc14a2a3a98d25e8a71fb3d5e08ae8b6fe6 to deal with
both older and newer UPower versions.
It should be safe now to assume a UPower version with this property.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`set_primary()` and `add_primary()` had a lot of redundant code. This
unifies them, and moves them to a custom widget called `CcBatteryRow`.
This also decreases the somewhat excessive size of `cc-power-panel.c`,
and makes it easier to see the layout of widgets, now that it's
specified in xml.
Before this, `warning-battery-offset` was set to `0.03` for a "primary"
battery, and `0.05` otherwise. I expect this is a bug, so I've changed
both to `0.03`.
No other style or behavior change is intended.
|
|
|
|
|
| |
Always return translated strings from the fprint translation helper
header. This makes things more consistent overall.
|
|
|
|
|
|
|
|
| |
A duplicatend and translated string could be passed to gettext another
time. If that string can be translated, then a static string would be
returned rather than the const one, causing an invalid free.
Fixes: #1149
|
|
|
|
| |
(cherry picked from commit faa4b3b773d0d6cb1de822553a85a6f3eb8a1b94)
|
|
|
|
|
|
|
|
|
| |
It simplifies the code, and allows us to have some consistency
between projects (either inside and outside GNOME, mind you).
I took the liberty to rename and reword some of the options so
that they actually describe which ones are optional, and also
which ones are hard dependencies detected at build time.
|
|
|
|
|
|
|
|
|
| |
The UI rebuilding code may change the configuration type, which in turn
can trigger a UI rebuild. This should not be done if we are already
updating the UI (but must be done otherwise, as that means the user has
chosen to change the configuration).
Fixes: #1141
|
|
|
|
| |
(cherry picked from commit c079f03d96d7e20efbe8165dd4c547ac892090e9)
|
|
|
|
| |
(cherry picked from commit 708484f84643acc99550bb3ec89bb1f06f36d6d9)
|
| |
|
|
|
|
| |
Pre-release version bump.
|
| |
|
|
|
|
| |
(cherry picked from commit 3d4cfb22f519fc56de380bd732c9898e3ade065e)
|
|
|
|
| |
(cherry picked from commit 81ad2b160b103090e79dfe046cf07192e1c92ebe)
|
| |
|
|
|
|
| |
Fixes #417
|
| |
|
|
|
|
| |
Occured when showing the "Replace" button.
|
|
|
|
|
|
| |
In the shortcut editor, the "Replace" button is shown instead of "Set"
or "Add" when there is a collision. But this executes the same code as
"Set", so when adding a shortcut, it doesn't actually work.
|
|
|
|
|
|
|
| |
The default input sources are not included in layout_rows_by_id or
engine_rows_by_id but in default_input_source_row of GtkListBoxRow.
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1131
|
|
|
|
| |
Added WirelessSecuritySAE class to fully implement SAE support.
|
|
|
|
|
| |
It's been deprecated and unsupported by NetworkManager since version 1.2
(current is 1.26).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|