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
Robert Ancell
84c8803d76
info-overview: Search path for gnome-software rather than rely on exact location
2020-12-13 21:45:56 +00:00
Robert Ancell
5087de2f85
thunderbolt: Remove unused BINDIR define
2020-12-13 21:45:56 +00:00
Robert Ancell
fd33f80558
power: Move general UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
2cd571f2f7
power: Move power saving UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
b539a2d94f
power: Move power profile UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
1d11ba552d
power: Move device UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
3bd01516e3
power: Move battery UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
cd24fddcf8
power: Move GtkSizeGroups into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
d06375fc82
power: Use GTK widget types
2020-12-13 20:57:04 +00:00
Robert Ancell
4b0c908e1f
power: Fix battery percentage control not showing on mobile devices.
...
If you can't suspend/hibernate or on a mobile device or VM then the battery
percentage is control is supposed to be shown.
The parent widgets are hidden though, so this doesn't work.
Always show the parents, as all branches show something here.
This was added in 6a65dcf693
.
2020-12-13 20:57:04 +00:00
Robert Ancell
6622b39632
printers: Make PpJobRow widget
2020-12-14 09:51:19 +13:00
Robert Ancell
cd070d2e5a
printers: Clear up use of gpointer value
2020-12-14 09:51:19 +13:00
Robert Ancell
d79fa68fbc
network: Make CENetmaskEntry
2020-12-11 19:06:48 +00:00
Robert Ancell
c1a13ccaba
network: Make CEIPAddressEntry
2020-12-11 19:06:48 +00:00
Robert Ancell
c9ea93f195
network: Use g_autoptr with GList
2020-12-11 19:06:48 +00:00