Alice Mikhaylenko
4680f362f3
Port to AdwNavigationSplitView
2023-08-25 08:00:43 +00:00
Alice Mikhaylenko
11a9c20ba6
background: Port to AdwToolbarView
2023-08-25 08:00:43 +00:00
Cassidy James Blaede
91f3a7ec4f
background: change "Light" to "Default"
2022-06-15 19:12:10 +00:00
Lukáš Tyrychtr
a477684f20
Improve accessibility of the background panel
2022-05-10 21:11:57 +00:00
Sebastian Keller
5df1519d7d
background: Make sure the size of the light/dark previews is the same
...
Without homogeneous columns the difference in the size of the light/dark
labels could cause one preview to be larger.
Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1810
2022-05-05 10:13:34 +02:00
Alexander Mikhaylenko
1e2069e748
background: Don't expand the background list
...
It looks weird when there are few wallpapers.
2022-02-07 10:50:10 +00:00
Christopher Davis
8347e01453
background: Use AdwPreferences{Page,Group}
...
Now that AdwPreferencesGroup has support for
header suffixes, we can cut out a lot of widgetry
by using it and AdwPreferencesPage directly.
2022-01-31 12:15:43 -08: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
Alexander Mikhaylenko
ecd6124b91
background: Add a light/dark style switcher
2021-12-20 19:51:46 +00:00
Alexander Mikhaylenko
0aaa6f296d
background: Redo the layout to match the new mockups
2021-12-20 19:51:46 +00:00
Georges Basile Stavracas Neto
d9d670328b
background: Port to GTK4
...
CcBackgroundPreview required some layout changes, but
overall a pretty easy port.
2021-12-14 22:34:21 -03: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
Robert Ancell
4b0d47eaa4
background: Connect signals in swapped form
2020-03-30 02:05:38 +00:00
Florian Müllner
33c23eaef6
background: Remove lock-screen preview
...
Without different lock-screen settings, there's little reason to
keep showing a lock-screen preview. So rather than updating the
preview to a blurred version of the regular background, just remove
it altogether.
https://gitlab.gnome.org/GNOME/gnome-control-center/issues/864
2020-02-19 09:37:26 +00:00
Mohammed Sadiq
e1cd43cb48
background: Get Preview aspect ratio from primary monitor
...
Get the aspect ratio from Primary monitor, and allow the preview
to have smaller size, so that it works well on smaller screens
2019-07-20 02:22:03 +00:00
Georges Basile Stavracas Neto
6df2b0bb4a
background: Remove dead code
...
We do not download pictures anymore; the BgRecentSource
always copies the wallpapers before actually adding them,
and the BgWallpapersSource handles system-wide wallpapers,
which typically do not change.
Remove this dead code, and the unecessary widgets that were
kept to keep this code working -- essentially, a few boxes
around the previewers.
2019-05-30 20:09:53 -03:00
Georges Basile Stavracas Neto
728d3b4fca
background: Add "Open Picture…" header button
...
This makes the new Background panel feature-complete; we can
add and remove custom wallpapers now.
2019-05-30 20:09:53 -03:00
Georges Basile Stavracas Neto
5b214404a1
background: Move preview to CcBackgroundPreview
...
This is a dedicate class to generate the preview. Not only
it renders the pixbuf of the wallpaper, but it also adds
lock screen or desktop frames on top of it. It also monitors
the time to keep the lock screen preview label always updated.
2019-05-30 20:01:48 -03:00
Georges Basile Stavracas Neto
df80d4a2fe
background-panel: Remove background chooser buttons
...
The chooser itself is now located below, and we don't need
to have the buttons anymore.
2019-05-30 20:01:12 -03:00
Georges Basile Stavracas Neto
2f032f224a
background: Introduce CcBackgroundChooser
...
It will become essentially what CcBackgroundChooserDialog,
but without a dialog and organized differently. Right now,
it is as minimal as it could be and only shows wallpapers.
As we grow it, it may cover pictures and even colors.
2019-05-30 20:01:12 -03:00
Georges Basile Stavracas Neto
ad740deeea
background: Turn into a template class
2019-05-30 20:01:11 -03:00
Georges Basile Stavracas Neto
c290dadf0c
background: Rename ui file to cc-background-panel.ui
2019-05-30 20:01:11 -03:00