Robert Ancell
1b70273221
power: Fix device label alignment
...
Should be left-aligned, previously it was centered
2018-11-21 12:11:20 +13:00
Kristjan SCHMIDT
c4747fa960
Update Esperanto translation
2018-11-20 21:49:09 +00:00
Georges Basile Stavracas Neto
24a5bad48d
panel-list: Fix back button after search
...
This is a fallout from commit b02bc2a935
. It was missing
the check for search.
2018-11-19 00:07:12 -02:00
Georges Basile Stavracas Neto
7bcab0f527
ci: Add gcovr
...
[skip ci]
2018-11-18 23:40:50 -02:00
Georges Basile Stavracas Neto
1c97796646
ci: Fix typo in variable value
2018-11-18 23:31:28 -02:00
Georges Basile Stavracas Neto
7027ac788a
ci: Point to new images again
...
This reverts commit 8f29cd019d
.
2018-11-18 23:30:09 -02:00
Georges Basile Stavracas Neto
8f29cd019d
Revert "ci: Point to new images"
...
This reverts commit f7cb1e16cd
.
Temporarily use the old images, to build the new ones correctly.
[skip ci]
2018-11-18 22:54:52 -02:00
Georges Basile Stavracas Neto
9a66e61d55
ci: Add libasan to image
...
[skip ci]
2018-11-18 22:50:08 -02:00
Georges Basile Stavracas Neto
f7cb1e16cd
ci: Point to new images
2018-11-18 22:11:15 -02:00
Georges Basile Stavracas Neto
cfca142695
ci: Don't build when running the weekly image
2018-11-18 22:10:43 -02:00
Georges Basile Stavracas Neto
425feb6e59
ci: Properly quote regex string
2018-11-18 21:50:04 -02:00
Georges Basile Stavracas Neto
e27923b84e
ci: Simplify condition to now build images
...
[skip ci]
2018-11-18 21:21:39 -02:00
Georges Basile Stavracas Neto
d61decdef8
docker: Build CI images
...
Build CI images for:
fedora.dev
fedora.aarch64
fedora.ppc64le
2018-11-18 21:10:13 -02:00
Georges Basile Stavracas Neto
c2c7547e78
Revert "ci: Build Docker images when Dockerfile changes"
...
This reverts commit 1d4d995323
.
2018-11-18 20:55:52 -02:00
Georges Basile Stavracas Neto
1d4d995323
ci: Build Docker images when Dockerfile changes
2018-11-18 20:53:59 -02:00
Marek Černocký
89b3eb36fd
Fixed Czech translation typo
2018-11-17 21:23:51 +01:00
Georges Basile Stavracas Neto
aeb060c8ad
panel-list: Instrument more functions
...
These were useful tracing messages to figure out some bugs
with the sidebar widget implementation.
2018-11-16 19:25:13 -02:00
Georges Basile Stavracas Neto
896ff73c2b
tests: Add test panels for sidebar widget
...
Two tests for sidebar widget were added: one at the main
sidebar view, the other inside the Details category.
2018-11-16 19:25:13 -02:00
Georges Basile Stavracas Neto
fdf22ad255
tests: Properly generate desktop files
2018-11-16 19:25:13 -02:00
Georges Basile Stavracas Neto
8d2265c6b9
window: Properly update headebar buttons and title
...
With the new sidebar view in place, a new problem arose: we
need the current panel to be configured to update the title,
but cc_panel_list_add_sidebar_widget() changes the view while
activating the panel. That makes Settings crash.
Fix that by explicitly updating the headerbar widget, instead
of using notify::view of the panel list.
2018-11-16 19:25:13 -02:00
Georges Basile Stavracas Neto
8c144b6261
window: Instrument some functions
2018-11-16 19:24:49 -02:00
Georges Basile Stavracas Neto
2c18053ddd
window: Set the panel name as title for the widget
...
Instead of the wrong name of the previous panel list view.
2018-11-16 19:24:49 -02:00
Georges Basile Stavracas Neto
6295831fff
window: Add panel's sidebar widget to sidebar
...
When opening a panel, add its sidebar widget to the sidebar.
2018-11-16 19:24:49 -02:00
Georges Basile Stavracas Neto
de15083e7a
panel-list: Rename internal function
...
It was referring to listbox, where in the future
it is going to refer to any kind of widget.
2018-11-16 15:19:09 -02:00
Georges Basile Stavracas Neto
b02bc2a935
panel-list: Replace set_view() by go_previous()
...
Instead of directly selecting the view that the panel
list will have, let it decide which is the previous
view instead.
This does not change anything functionality wise, but
in the future where we have sidebar widget (and thus
the main window does not control which view the sidebar
is display) this will be important.
2018-11-16 15:19:09 -02:00
Georges Basile Stavracas Neto
6541c128df
trivial: Update code style
2018-11-16 15:19:08 -02:00
Georges Basile Stavracas Neto
75167f45fd
panel: Add get_sidebar_widget() vfunc
...
This vfunc is the entry point for panels that have
a sidebar widget. It must never return NULL.
At this point, nothing uses it and this vfunc does
not impact execution of the program.
2018-11-16 15:19:08 -02:00
Georges Basile Stavracas Neto
3e9425aee3
panel: Remove size negotiation machinery overrides
...
These overrides were added eight years ago, as a port from
GTK3's size_request() deprecation, in commit f5f5aac5c0
.
These overrides are not necessary these days, since they
just reproduce the default behavior now.
Remove these overrides then.
2018-11-16 15:18:59 -02:00
Georges Basile Stavracas Neto
62743ab47e
window: Factor out function to find panel iter
...
It will be used by the next commits to look for the panel
name. That is because the panel name is what will be used
as the first headerbar title of panels with a sidebar widget.
2018-11-16 15:18:59 -02:00
Georges Basile Stavracas Neto
7e2865131b
panel: Remove unused macro
2018-11-16 15:18:59 -02:00
Georges Basile Stavracas Neto
93209fafab
panel: Remove useless get_type() function
...
It is already declared by G_DECLARE_DERIVABLE_TYPE().
2018-11-16 15:18:59 -02: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