summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* search: Check for either tracker 2.x or 3.x schemaswip/carlosg/search-tracker3Carlos Garnacho2020-11-021-2/+18
| | | | | | | | | | | 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
* Updated Danish translationAsk Hjorth Larsen2020-11-011-108/+111
|
* printers: Fix leak of printer name in callbacks.Robert Ancell2020-10-293-7/+7
| | | | | | 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).
* printers: Use g_autoptr with GThreadRobert Ancell2020-10-301-26/+6
|
* printers: Add methods for getting printer name and locationRobert Ancell2020-10-295-211/+76
| | | | Remove the GObject properties that aren't type safe.
* sharing: Also disable Tracker3Jens Georg2020-10-291-0/+1
| | | | Fixes #1160
* display: Try harder to select a good and working scaleBenjamin Berg2020-10-291-2/+57
| | | | | | | | | | | | | | 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
* shell: Do not show panel description by defaultIan Douglas Scott2020-10-291-1/+0
| | | | | | | | 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.
* printers: Do not cleanup task after getting busMarek Kasik2020-10-291-1/+2
| | | | | | 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.
* power: Add "Power Mode" sectionwip/hadess/power-profilesBastien Nocera2020-10-297-1/+784
| | | | | | | | 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
* printers: Add pp_job_new and associated methods.Robert Ancell2020-10-275-152/+62
| | | | | | | | 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. :)
* Update Catalan translationJordi Mas2020-10-231-1/+1
|
* Update Friulian translationFabio Tomat2020-10-211-107/+103
|
* user-accounts: Pass --user argument to select user in malcontent-controlPhilip Withnall2020-10-202-1/+10
| | | | | | | | 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
* Update Catalan translationJordi Mas2020-10-191-5/+5
|
* shell: Replace g_object_new with gtk widget methodsRobert Ancell2020-10-191-18/+13
| | | | This improves compile time type checking.
* power: Replace g_object_new with gtk widget methodsRobert Ancell2020-10-191-38/+33
| | | | This improves compile time type checking.
* online-accounts: Replace g_object_new with gtk widget methodsRobert Ancell2020-10-191-7/+5
| | | | This improves compile time type checking.
* keyboard: Replace g_object_new with gtk widget methodsRobert Ancell2020-10-191-6/+4
| | | | This improves compile time type checking.
* background: Replace g_object_new with gtk widget methodsRobert Ancell2020-10-191-21/+20
| | | | This improves compile time type checking.
* keyboard: replace CcAltCharsKeyDialog with a generic XkbModifierDialogIan Douglas Scott2020-10-1910-427/+502
| | | | | | | | | 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.
* Update Friulian translationFabio Tomat2020-10-181-223/+215
|
* power: Use CcBatteryRow for devices section as wellIan Douglas Scott2020-10-143-137/+99
| | | | This had another slightly different version of the same code.
* power: Remove unused `status` code in add_deviceIan Douglas Scott2020-10-141-45/+0
| | | | | | | 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.
* power: Remove get_battery_level()Ian Douglas Scott2020-10-141-13/+1
| | | | | | | 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.
* power: Refactor battery row code into a `CcBatteryRow` typeIan Douglas Scott2020-10-147-303/+442
| | | | | | | | | | | | | | `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.
* user-accounts: Consistently return translated strings for fprint helperBenjamin Berg2020-10-132-11/+11
| | | | | Always return translated strings from the fprint translation helper header. This makes things more consistent overall.
* user-accounts: Fix free of const string due to incorrect translationsBenjamin Berg2020-10-131-3/+3
| | | | | | | | 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
* Update Portuguese translationJuliano de Souza Camargo2020-10-121-21/+21
| | | | (cherry picked from commit faa4b3b773d0d6cb1de822553a85a6f3eb8a1b94)
* meson: Use summary instead of manually built stringGeorges Basile Stavracas Neto2020-10-121-19/+20
| | | | | | | | | 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.
* display: Fix possible recursion when configuration type changesBenjamin Berg2020-10-121-1/+2
| | | | | | | | | 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
* Update Bengali (India) translationAkarshan Biswas2020-10-111-679/+155
| | | | (cherry picked from commit c079f03d96d7e20efbe8165dd4c547ac892090e9)
* Update Portuguese translationJuliano de Souza Camargo2020-10-071-28/+28
| | | | (cherry picked from commit 708484f84643acc99550bb3ec89bb1f06f36d6d9)
* Update Ukrainian translationYuri Chornoivan2020-10-051-149/+152
|
* 40.alphaGeorges Basile Stavracas Neto2020-10-031-1/+1
| | | | Pre-release version bump.
* ci: Correctly update the submodules on build.Robert Ancell2020-10-031-0/+1
|
* Update Hebrew translationYosef Or Boczko2020-09-291-2/+2
| | | | (cherry picked from commit 3d4cfb22f519fc56de380bd732c9898e3ade065e)
* Update Hebrew translationYosef Or Boczko2020-09-281-1393/+1548
| | | | (cherry picked from commit 81ad2b160b103090e79dfe046cf07192e1c92ebe)
* Update POTFILES.inPiotr Drąg2020-09-261-0/+2
|
* applications: Hide buttons that launch gnome-software if it is not availableRobert Ancell2020-09-252-2/+13
| | | | Fixes #417
* Disable the button for hidded Wi-Fi when Wi-Fi is turned offDmitry Sharshakov2020-09-252-1/+5
|
* keyboard: fix gtk_widget_get_can_default assertion errorIan Douglas Scott2020-09-251-0/+1
| | | | Occured when showing the "Replace" button.
* keyboard: Fix behavior of "Replace" when adding custom shortcutIan Douglas Scott2020-09-251-3/+5
| | | | | | 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.
* region: Search default input sourcesTakao Fujiwara2020-09-251-0/+16
| | | | | | | 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
* network: complete SAE supportJonathan Kang2020-09-256-4/+337
| | | | Added WirelessSecuritySAE class to fully implement SAE support.
* power: Remove WiMax handlingBastien Nocera2020-09-251-10/+4
| | | | | It's been deprecated and unsupported by NetworkManager since version 1.2 (current is 1.26).
* Code cleanup as per HACKING.Brandon Nielsen2020-09-251-72/+60
|
* Consumers clean up the PPD list, not the dialog itself.Brandon Nielsen2020-09-251-2/+0
|
* Spaces over tabs.Brandon Nielsen2020-09-251-18/+18
|
* component: PpPPDSelectionDialogBrandon Nielsen2020-09-254-50/+75
| | | | | | | | | | | 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