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
Robert Ancell
f649308f1f
common: Fix ... row not showing in language chooser
...
Broken in 67a9f47464
2018-11-12 20:33:05 +00:00
Robert Ancell
9d091692f8
region: Fix ... row not showing
...
Broken in 5368c1cb71
2018-11-12 20:33:05 +00:00
Robert Ancell
c4a6f7bd54
search: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00
Robert Ancell
e77080c83c
info: Make .ui filenames match the .c filenames
2018-11-12 16:41:01 +00:00
Robert Ancell
e6bf2870c1
power: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00
Robert Ancell
3695c22ab5
datetime: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00
Robert Ancell
59cc518c3e
universal-access: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00
Robert Ancell
41d2eff314
sharing: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00
Robert Ancell
465f096ea0
keyboard: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00
Alex Hirsch
b4809cd210
display: Mode compare takes interlaced into account
...
When changing the display mode, the apply button does not appear if the
current mode and new mode differ only in their interlaced flag.
The display mode comparison function now takes the interlaced flag into
account.
2018-11-10 20:38:02 +01:00
Robert Ancell
faaece85d2
user-accounts: Replace gtk_stack_set_visible_child with gtk_stack_set_visible
2018-11-10 09:39:09 +13:00
Robert Ancell
aac990aa83
user-accounts: Re-align fields in class structure
2018-11-10 09:28:23 +13:00
Robert Ancell
ad76438817
user-accounts: Focus domain entry when selecting enterprise login
...
And return focus correctly when switching back to local login
2018-11-10 09:24:34 +13:00
Robert Ancell
e41506798a
Replace tabs with whitespace
2018-11-10 09:24:34 +13:00
Robert Ancell
3456269215
user-accounts: Remove debugging program for testing a dialog
...
This is not used by anyone.
2018-11-10 09:24:34 +13:00
Robert Ancell
26b0720200
user-accounts: Use gtk_dialog_run for CcAddUserDialog
2018-11-10 09:24:34 +13:00
Robert Ancell
96c2c4d62c
user-accounts: Simplify how models are accessed
2018-11-10 09:24:34 +13:00