Adrien Plazas
5cc5a85bf9
window: Stop using HdyLeaflet
...
It is safer to not make the shell adaptive until all panels are, so this
drops usage of HdyLeaflet to make the shell adaptive.
This mostly reverts commit 0ca61a5bde
.
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/375 .
2019-02-21 11:35:35 +00:00
Adrien Plazas
90dd7651cd
window: Ensure a constant minimum panel width
...
Ensure all panels take at least 300pt of width to ensure a minimum of
usability, readability of the panels and consistency of when the shell
folds itself.
2019-01-21 21:53:21 +00:00
Adrien Plazas
0ca61a5bde
window: Use a HdyLeaflet
...
This allows the window to be folded to show either the sidebar or the
panel when not enough space is available.
2019-01-21 21:53:21 +00:00
Adrien Plazas
64ac458804
window: Use the sidebar style class on sidebar separators
...
This adds the sidebar style class to the sidebar separators to keep them
styled correctly.
2019-01-21 21:53:21 +00:00
Adrien Plazas
63dda56329
window: Use a HdyTitleBar
...
This will be needed for sliding animations to work well as we are going
to use HdyLeaflet in the titlebar.
2019-01-21 21:53:21 +00:00
Adrien Plazas
77aece9920
shell: Synchronize the separators
...
This will help the separators to behave properly with leaflets, as we
are going to introduce some in some following commits.
2019-01-21 21:53:21 +00:00
Adrien Plazas
4c813fa1d8
shell: Synchronize the right panel width
...
This will help the right panel to behave properly with leaflets, as we
are going to introduce some in some following commits.
2019-01-21 21:53:21 +00:00
Adrien Plazas
9d9c547649
shell: Use a HdyHeaderGroup
...
Handle the header bars' decoration layouts with a HdyHeaderGroup to
simplify the code.
2019-01-21 21:53:21 +00: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
Robert Ancell
c0f41daff0
shell: Remove the lock button from the shell
...
Only the date time panel used it, all other panels add their own shell using
cc_shell_embed_widget_in_header which was added after the date time panel was
written. Update the date time panel to use this method.
2018-10-18 00:25:40 +00:00
Robert Ancell
58d5c9411d
shell: Remove AppMenu
...
https://wiki.gnome.org/Initiatives/GnomeGoals/AppMenuRetirement
2018-10-17 22:14:27 +00:00
Robert Ancell
f3e642da56
shell: Drop unused no-show-all properties
2018-10-11 22:21:34 +00:00
Georges Basile Stavracas Neto
a8673b06c7
shell: Rename .ui files to match .c files
...
To keep it clean and well organized, rename the .ui files
(window.ui and panel-list.ui) to have the 'cc-' prefix and
match their .c counterparts.
2018-07-18 21:34:09 +00:00