Adrien Plazas
6c8307faf4
power: Use HdyActionRow to simplify the code
2021-05-07 02:50:40 +00:00
Adrien Plazas
4cc4b91b4e
power: Use HdyComboRow for the Power Button Behavior row
...
This simplifies the code a bit and modernizes the UI.
2021-05-07 02:50:40 +00:00
Adrien Plazas
3069dc84c8
power: Use HdyComboRow for the Blank Screen row
...
This simplifies the code a bit and modernizes the UI.
2021-05-07 02:50:40 +00:00
Adrien Plazas
f986fedf49
power: Don't set the vadjustment
...
This is useless as GtkScrolledwindow already does it on the viewport it
creates.
2021-05-07 02:50:40 +00:00
Robert Ancell
fd33f80558
power: Move general UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
2cd571f2f7
power: Move power saving UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
b539a2d94f
power: Move power profile UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
1d11ba552d
power: Move device UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
3bd01516e3
power: Move battery UI into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
cd24fddcf8
power: Move GtkSizeGroups into GtkBuilder file
2020-12-13 20:57:04 +00:00
Robert Ancell
d06375fc82
power: Use GTK widget types
2020-12-13 20:57:04 +00:00
Adrien Plazas
f06379e30c
Replace HdyColumn by HdyClamp
...
In libhandy 1, HdyClamp replaces HdyColumn. This stops setting values
when they match HdyClamp's defaults.
2020-07-20 08:04:28 +02:00
Ethan Hsieh
83e055c9be
power: correct the value of 90 minutes to 5400
2019-05-02 13:35:14 +08:00
Adrien Plazas
ef93835b31
power: Make the rows adaptive
...
This factorizes the row creation a bit and normalizes the margins and
spacing, reducing the required width. This also makes labels like row
titles and descriptions ellipsizable so the rows can reach narrower
widths.
2019-03-29 17:55:20 +00:00
Adrien Plazas
101ebf1bd4
power: Use a HdyColumn
...
This allows the window to reach narrower sizes.
2019-03-29 17:55:20 +00:00
Robert Ancell
e6bf2870c1
power: Make .ui filename match the .c filename
2018-11-12 16:41:01 +00:00