Commit graph

12 commits

Author SHA1 Message Date
Alice Mikhaylenko
4680f362f3 Port to AdwNavigationSplitView 2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
cf8d23eae4 bluetooth: Port to AdwToolbarView 2023-08-25 08:00:43 +00:00
Automeris naranja
cc76a6289c bluetooth: Add mnemonic to the "Turn Off Airplane Mode" button 2023-06-27 16:25:08 -03:00
sunflowerskater
82e873f9cc bluetooth: Tweak AdwStatusPage design
Some AdwStatusPage changes to follow HIG:

- Apply .suggested-action style class to the button
- Ditch period from the description

- https://developer.gnome.org/hig/patterns/controls/buttons.html
- https://developer.gnome.org/hig/guidelines/writing-style.html
2023-01-18 11:56:51 +01:00
Lukáš Tyrychtr
f1d5215cdd Add an a11y label to the enable switch 2022-05-10 03:31:04 +00:00
Georges Basile Stavracas Neto
4300a4a290 panels: Use new CcPanel helpers for title widgets
This should significantly simplify these panels, by not forcing
them to override GObject.constructed all the time. Most panels
were quite straightfoward.
2022-01-20 02:23:42 +00:00
Georges Basile Stavracas Neto
0ab20af9ba panels: Switch to CcPanel content
Start porting panels to the new panel format. This commit
temporarily makes panels have two titlebar, which will be
fixed soon.
2022-01-20 02:23:42 +00:00
Christopher Davis
fdda3e77f6 bluetooth: Use AdwStatusPage
libadwaita provides a widget for empty pages that we
should use in all previous places where we rolled our own.
2022-01-17 19:21:49 +00:00
Georges Basile Stavracas Neto
2b11900b0c bluetooth: Port to GTK4
This needs libgnome-bluetooth-2.0, which was recently merged.
2021-12-14 22:34:21 -03:00
Benjamin Berg
75c3e11708 bluetooth: Fix bluetooth switch transitions
This commit changes the switch to do a proper delayed state change using
the state-set signal. Also changed is that we always update the switch
state rather than avoiding an update when it is not powered.

Avoiding this update was introduced in commit 4a009da483 (bluetooth:
Don't change the switch status when transitioning), however, the current
implementation causes us to get stuck in the wrong visual state
sometimes. Also, with this patch I am unable to see any visual glitch on
hardware that should be affected, and even if there was a glitch,
getting the final state right is more important.

Closes: #607, #1272
2021-07-29 23:10:46 +00:00
Robert Ancell
af1ffd76e1 bluetooth: Move all UI into the GtkTemplate 2019-09-09 22:03:36 +00:00
Robert Ancell
e5ee278393 bluetooth: Make .ui filename match the .c filename 2018-11-14 10:11:43 +00:00
Renamed from panels/bluetooth/bluetooth.ui (Browse further)