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
Georges Basile Stavracas Neto
b85c97e5ee
ci: Expire flatpak bundle in 7 days
...
2 days it too short of a time range.
[skip ci]
2018-11-27 16:00:00 -02:00
Georges Basile Stavracas Neto
b41deef778
ci: Rename icons when building flatpak
...
They need to match the app id.
2018-11-27 15:59:03 -02:00
Georges Basile Stavracas Neto
c8380d292c
flatpak: Remove icon rename
...
Since the new icons landed, we follow the app id naming
convention properly.
2018-11-27 15:58:22 -02:00
Piotr Drąg
4c4735d1c4
Update POTFILES.skip
2018-11-26 19:32:33 +01:00
Adrien Plazas
943c90074c
wifi: Allow the panel to reach narrower sizes
2018-11-26 15:36:34 +01:00
Adrien Plazas
0ece578658
main: Init libhandy
...
This will allow to use libhandy's translations and to init its types.
2018-11-26 15:36:34 +01:00
Adrien Plazas
af58f4c6ed
build: Add libhandy-0.0 dependency
...
This is needed to access widgets to make the shell adaptive.
This also adds libhandy as a submodule and will make use of that version
if it isn't available otherwise.
2018-11-26 15:36:34 +01:00
Adrien Plazas
459fb91a84
flatpak: Add libhandy
...
This is needed as it is going to be used in the following commits.
2018-11-26 15:36:34 +01:00
Adrien Plazas
28de6f4c8a
Factorize dependecies initialization
...
Add initialize_dependencies() to factorize the dependecies
initialization functions for better readability as another dependency
to initialize will be added in a following commit.
2018-11-26 15:36:31 +01:00
Adrien Plazas
8201c369a2
Fix the style of main()'s prototype
2018-11-26 15:36:11 +01:00
Kristjan SCHMIDT
fbf3c5736b
Update Esperanto translation
2018-11-21 15:32:07 +00:00
Bastien Nocera
cad5f982c9
thunderbolt: Fix compile-time warning
...
The Thunderbolt panel warns about explicit_bzero() not being available
but never checked for it.
gnome-control-center/panels/thunderbolt/bolt-str.c: In function ‘bolt_erase_n’:
gnome-control-center/panels/thunderbolt/bolt-str.c:33:4: warning: #warning no explicit bzero, using fallback [-Wcpp]
#warning no explicit bzero, using fallback
^~~~~~~
Closes : #286
2018-11-21 14:25:14 +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
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