Robert Ancell
878f5191db
common: Move CcLanguageChooser more row into GtkBuilder
2021-02-01 04:02:22 +00:00
Robert Ancell
35ef98806b
common: Move CcLanguageChooser language placeholder widget into GtkBuilder
2021-02-01 04:02:22 +00:00
Robert Ancell
4fb52c8496
common: Split out CcLanguageRow from CcLanguageChooser
2021-02-01 04:02:22 +00:00
Philip Withnall
77df081fec
user-accounts: Make dim-label behaviour better for parental controls row
...
This makes it behave a bit more like other rows.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/26
2021-02-01 03:46:14 +00:00
Philip Withnall
dc09e0633c
user-accounts: Imply parental controls permissions when unlocking
...
This allows querying the parental controls status of other non-admin
users once the panel is unlocked.
Implication is not recursive in polkit, so it’s unfortunately not
sufficient to just imply
`org.freedesktop.MalcontentControl.administration` (which itself implies
all the other actions).
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2021-02-01 03:46:14 +00:00
Philip Withnall
2d41210b2f
user-accounts: Add a description label for the Parental Controls row
...
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/26
2021-02-01 03:46:14 +00:00
Benjamin Berg
1decf825c1
network: Accept empty passwords if it is not saved
...
In that case, NM will use gnome-shell to prompt for the password. As
such, the form should validate no matter what password is set.
2021-02-01 03:29:02 +00:00
Benjamin Berg
e8df86411b
network: Pass NULL password if it is not saved for a secret key
...
This seems to be the right thing to do looking at the documentation for
nma_utils_menu_to_secret_flags.
2021-02-01 03:29:01 +00:00
Felipe Borges
cc446bb2fb
info-overview: Present Hardware "vendor" and "model" fields
...
These fields can help users identify their hardware vendor and model,
helping hardware vendors debug device specific problems.
This information is provided by systemd-hostnamed, which sources
this information from hwdb, and fallbacks to the DMI device. See
https://github.com/systemd/systemd/pull/15531
See https://teams.fedoraproject.org/project/silverblue/us/127
2021-01-27 13:47:28 +00:00
Carlos Garnacho
006d0e6a63
universal-access: Update to g-s-d mouse schema changes
...
The settings used here moved to the org.gnome.desktop.peripherals.mouse
schema, out of g-s-d. Stop referencing this unused schema.
2021-01-27 13:38:34 +01:00
Carlos Garnacho
a868a418f4
mouse: Drop unused g-s-d GSettings in test
...
This went unnoticed, till g-s-d did actually drop that schema. Stop
referencing this unused schema.
2021-01-27 13:38:24 +01:00
Carlos Garnacho
fe9b66c387
mouse: Drop unused g-s-d GSettings
...
This went unnoticed, till g-s-d did actually drop that schema. Stop
referencing this unused schema.
2021-01-27 13:17:03 +01:00
Benjamin Berg
feb762dde9
display: Sort resolutions by width first
...
We used to sort by area, but really, that is more confusing than
helpful. Instead, sort by width then height.
Fixes : #1237
2021-01-21 17:51:17 +01:00
Ian Douglas Scott
252f8659c8
keyboard: Use g_type_ensure()
2021-01-11 15:19:36 -08:00
Ian Douglas Scott
621dd80ab0
keyboard: Do now call g_binding_unbind()
finalizing shortcut editor
...
This errors and is unnecessary because the binding is removed when the
object bound is finalized.
2021-01-11 15:19:36 -08:00
Ian Douglas Scott
3fdb5f7ab2
keyboard: Correctly free references when finalizing shortcut dialog
2021-01-11 15:19:33 -08:00
Mario Sanchez Prada
92da5b6783
region: update the locale format along with the language when it changes
...
Not doing this will lead to (probably undesired) inconsistencies when
changing the language, since many locale-dependant strings will still be
rendered considering the previous language format (e.g. days of the week).
Note 2020-08-26: This patch has been in Endless OS since 2015, proposing
it upstream. - mwleeds
2021-01-10 21:01:20 +00:00
Robert Ancell
0d9bf5fa06
Fix PangoAttrList leak introduced in 63243d886a
2021-01-10 20:54:48 +00:00
Robert Ancell
2814785ad3
network: Stop using deprecated nm_remote_connection_get_secrets
2021-01-08 07:39:32 +00:00
Mohammed Sadiq
452439a036
wifi: Simplify airplane mode switch
2021-01-08 02:54:15 +00:00
Mohammed Sadiq
ca7002b0ae
list-row: Add API to set sensitivity of switch
2021-01-08 02:54:15 +00:00
Mohammed Sadiq
08defd6ec5
list-row: Add 'bold' property
...
So that we can set if title is bold or not
2021-01-08 02:54:14 +00:00
Brandon Nielsen
c239521e9d
Change PpPPDSelectionDialog to GtkDialog
...
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.
2021-01-08 02:49:32 +00:00
Robert Ancell
c86d1c09c8
user-accounts: Simplify render_user_icon function
2021-01-08 15:28:47 +13:00
Robert Ancell
ff6aabb511
user-accounts: Use consistent whitespace
2021-01-08 15:25:07 +13:00
Robert Ancell
c690e921ca
user-accounts: Use g_autoptr/g_autofree
2021-01-08 15:25:07 +13:00
Robert Ancell
2dbab9d4fa
power: Use GtkBuilder for CcPowerProfileRow
2021-01-06 20:02:46 +00:00
Robert Ancell
ab621482e8
power: Remove properties and use simpler constructor
2021-01-06 20:02:46 +00:00
Robert Ancell
edec4b6575
power: Use self variable naming style
2021-01-06 20:02:46 +00:00
Mohammed Sadiq
4b9dd7d54d
wifi-connection-row: Fix alignment of wifi name
2020-12-22 19:08:58 +05:30
Ian Douglas Scott
5e8e9c3236
keyboard: Right align shortcut
...
Reset button is in a `GtkRevealer` to not take up space when hidden.
2020-12-18 08:11:24 -08:00
Ian Douglas Scott
fd661a6607
keyboard: Use "+" row at end of custom shortcuts, not another box
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
959d530c44
keyboard: Use HdyActionRow for shortcut/category
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
a7d526f70b
keyboard: Display shortcut for switching input source
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
a19c7c2e65
keyboard: Change wording for switch input source
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
9366de52cd
region: "Language" and "Format" headers and descriptions
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
e39a2916f3
keyboard: change margins of CcInputRow to better fit keyboard panel
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
f1e8f9b364
keyboard: Add margins between sections, like other panels
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
a89b83c9ec
keyboard: Use HdyClamp to expand similarly to other panels
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
8996ffac88
Move input sources from region panel to keyboard panel
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
25b12bf157
keyboard: Compose key
...
This was previously available only in Gnome Tweaks.
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
fe173f661b
keyboard: Do not call gtk_grab_{add,remove} in shortcut editor
...
For some reason, the ungrab was making the window impossible to interact
with. Without these calls, it seems to work as expected.
2020-12-18 07:55:41 -08:00
Ian Douglas Scott
238327e0ae
keyboard: Move keyboard shortcuts configuration to a dialog window
2020-12-18 07:55:38 -08:00
Robert Ancell
aef13948eb
network: Remove duplicate list
...
We can just iterate over the GtkNotebook - no need to mantain a list of pages.
2020-12-17 21:27:51 +00:00
Robert Ancell
362548fbd1
network: Don't explicitly disconnect signals that are automatically disconnected.
2020-12-17 21:27:51 +00:00
Robert Ancell
8ded3d956f
network: Show spinner instead of delaying dialog
...
It's better to respond to the user immediately rather than delay the window opening.
2020-12-17 21:27:51 +00:00
Robert Ancell
a1e26cdac1
network: Set transient window from outside NetConnectionEditor constructor
2020-12-17 21:27:51 +00:00
vitorramos
e5b68871f8
display:Fix null pointer dereference
2020-12-13 22:51:09 +00:00
Robert Ancell
f355234323
common: Remove unused CcListBox and CcListBoxRow
2020-12-14 11:36:45 +13:00
Robert Ancell
ed41626c67
color: Search path for gcm-viewer/gcm-calibrate rather than rely on exact location
2020-12-13 21:45:56 +00:00