Robert Ancell
fb09d9c090
printers: Use g_error_matches where appropriate
2018-12-10 10:13:28 +13:00
Jeremy Bicha
35679c6877
mouse: Remove deprecated gdk_error_trap_push|pop calls
...
Replace with gdk_x11_display_error_trap_push|pop
https://gitlab.gnome.org/GNOME/gnome-control-center/issues/20
2018-12-07 15:43:38 +00:00
Jeremy Bicha
3d686de41c
power: stop using deprecated up_client_get_devices
...
and bump required upower version to 0.99.8 which
introduced up_client_get_devices2
This is a follow-up from
https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/82
2018-12-07 14:55:43 +00:00
Carlos Garnacho
07410fb2f8
wacom: Update to newer "output" setting
...
The semantics are pretty much the same for opaque tablets, not
much else to do here.
2018-12-06 14:45:40 +00:00
Adrien Plazas
063656de0d
privacy: Ellipsize the labels
...
This will help the window to fit narrow screens.
2018-11-29 00:48:16 +00:00
Adrien Plazas
e9a5f87080
privacy: Simplify the rows' margins and spacing
...
Simplify the margins of the rows' items and diminish the spacing between
the elements of a row. This will help the window to fit narrow screens.
2018-11-29 00:48:16 +00:00
Adrien Plazas
7437ac1fd1
privacy: Use a HdyColumn
...
This better adapts the panel's size to the window's size, allowing it to
look good on both large and narrow windows.
2018-11-29 00:48:16 +00:00
Adrien Plazas
e76fca5e6e
online-accounts: Ellipsize the labels
...
This will help the window to fit narrow screens even with long
application names.
2018-11-29 00:48:16 +00:00
Adrien Plazas
851cdc8eb3
online-accounts: Wrap the header label
...
This will help the window to fit narrow screens.
2018-11-29 00:48:16 +00:00
Adrien Plazas
0d901e086d
online-accounts: Remove a hardcoded minimum width
...
This will help the window to fit narrow screens.
2018-11-29 00:48:16 +00:00
Adrien Plazas
8c92368e7c
online-accounts: Use a HdyColumn
...
This better adapts the panel's size to the window's size, allowing it to
look good on both large and narrow windows.
2018-11-29 00:48:16 +00:00
Adrien Plazas
60973f3a82
search: Ellipsize the labels
...
This will help the window to fit narrow screens even with long
application names.
2018-11-29 00:48:16 +00:00
Adrien Plazas
7679f29a7a
search: Use a HdyColumn
...
This better adapts the panel's size to the window's size, allowing it to
look good on both large and narrow windows.
2018-11-29 00:48:16 +00:00
Adrien Plazas
587ca5ce98
notifications: Ellipsize the labels
...
This will help the window to fit narrow screens even with long
application names.
2018-11-29 00:48:16 +00:00
Adrien Plazas
42d64e3baf
notifications: Use a HdyColumn
...
This better adapts the panel's size to the window's size, allowing it to
look good on both large and narrow windows.
2018-11-29 00:48:16 +00:00
Robert Ancell
983857e827
printers: Use g_clear_object with cancellable
...
Safer than g_object_unref.
Also remove explicit initialization to NULL - all values start as NULL.
2018-11-28 11:48:49 +00:00
Robert Ancell
dd9ddf4c9c
printers: Remove goto
...
Not necessary since the use of g_autoptr
2018-11-28 11:48:49 +00:00
Robert Ancell
241121fa20
printers: Use g_autoptr
2018-11-28 11:48:49 +00:00
Robert Ancell
9e0b40b549
printers: Check error parameter is valid
2018-11-28 11:48:49 +00:00
Robert Ancell
bf463f2662
printers: Use consistent GTask return pattern
2018-11-28 11:48:49 +00:00
Robert Ancell
e436cf1f60
printers: Remove unused variable
2018-11-28 11:48:49 +00:00
Robert Ancell
172ab6ef6c
printers: Fix incorrect g_task_run_in_thread reference usage
...
There is a reference held during this call so don't need to
explicitly unref inside the function.
2018-11-28 11:48:49 +00:00
Robert Ancell
4d20e682c2
printers: Remove unnecessary GSDData structure
2018-11-28 11:48:49 +00:00
Robert Ancell
323fee6d3b
printers: Replace deprecated GSimpleAsyncResult with GTask
2018-11-28 11:48:49 +00:00
Adrien Plazas
943c90074c
wifi: Allow the panel to reach narrower sizes
2018-11-26 15:36:34 +01:00
Robert Ancell
1b70273221
power: Fix device label alignment
...
Should be left-aligned, previously it was centered
2018-11-21 12:11:20 +13:00
João Paulo Rechi Vita
6efaf85e9a
power: Label the PENDING_CHARGING state as "Not Charging"
...
The pending-charge state means AC power is on but the battery is not
being charged. This can happen because its charge is above a certain
threshold, to avoid short charging cycles and prolong the battery's
life, or because the PSU is not powerful enough to charge the batteries.
Instead of lying to the user about something being estimated, we should
simply tell the truth and set the label to "Not Charging".
Closes : #249 .
2018-11-14 13:53:40 -08:00
Robert Ancell
41e3426873
network: Fix warning about freeing const string
...
The use of g_clear_pointer (&str, g_free) with str being a const gchar *
caused warning errors.
Instead of using str for both constant and allocated strings use separate
variables. Autofree the allocated strings.
2018-11-14 10:40:10 +00:00
Robert Ancell
631e83ec0e
bluetooth: Use g_auto for variables
2018-11-14 10:11:44 +00:00
Robert Ancell
14f20f3784
bluetooth: Move class_init to end of file
...
As specified in docs/HACKING.md and removes the need for function prototypes.
2018-11-14 10:11:44 +00:00
Robert Ancell
5c821bad71
bluetooth: Connect signals in swapped form
2018-11-14 10:11:44 +00:00
Robert Ancell
5ff8a88747
bluetooth: Fix indentation error
2018-11-14 10:11:44 +00:00
Robert Ancell
325c3c9446
bluetooth: Align struct members
2018-11-14 10:11:44 +00:00
Robert Ancell
4f97e8cb07
bluetooth: Use widget data types
...
Replace GtkWidget with the widget data types.
2018-11-14 10:11:44 +00:00
Robert Ancell
281827f70f
bluetooth: Rename generic variable name
...
Rename from 'widget' to 'settings_widget'
2018-11-14 10:11:43 +00:00
Robert Ancell
5b55519db2
bluetooth: Replace GtkStack page names with widgets
...
This is less likely to be accidentally broken in the future
2018-11-14 10:11:43 +00:00
Robert Ancell
e5ee278393
bluetooth: Make .ui filename match the .c filename
2018-11-14 10:11:43 +00:00
Robert Ancell
f1307baf4e
user-accounts: Replace lone tab character with spaces
2018-11-14 10:11:02 +13:00
Robert Ancell
b40b0a4d05
user-accounts: Rename um-utils.[ch] to user-utils.[ch]
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:10:15 +13:00
Robert Ancell
c092f8b89e
user-accounts: Fix alignment of function parameters
2018-11-14 10:10:15 +13:00
Robert Ancell
a41780267b
user-accounts: Move non-shared function
...
The generate_username_choices function is only used in CcAddUserDialog
2018-11-14 10:10:15 +13:00
Robert Ancell
ffa54acdb9
user-accounts: Move non-shared function
...
The set_user_icon_data function is only use in CcAvatarChooser
2018-11-14 10:10:15 +13:00
Robert Ancell
60ffc24c30
user-accounts: Move non-shared function
...
The render_user_icon function is only used in CcUserImage
2018-11-14 10:10:15 +13:00
Robert Ancell
288ef61515
user-accounts: Move non-shared function
...
The would_demote_only_admin function is only used in CcUserPanel
2018-11-14 10:10:15 +13:00
Robert Ancell
4e31c3face
user-accounts: Remove unused popup_menu_below_button function
2018-11-14 10:10:15 +13:00
Robert Ancell
96b6ae98d0
user-accounts: Remove unused icon style code
2018-11-14 10:10:15 +13:00
Robert Ancell
feaa29bfc0
user-accounts: Rename UmRealmManager to CcRealmManager
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:10:14 +13:00
Robert Ancell
eb7bbae2cd
user-accounts: Rename UmPhotoDialog to CcAvatarChooser
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Robert Ancell
262baed6a1
user-accounts: Rename UmCarousel to CcCarousel
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00
Robert Ancell
4767a094bd
user-accounts: Rename UmUserImage to CcUserImage
...
Um is a naming hangover from before this was part of g-c-c.
2018-11-14 10:06:15 +13:00