[libpanel: 26/26] merge: layout, layout item, renames, save delegate
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpanel: 26/26] merge: layout, layout item, renames, save delegate
- Date: Tue, 13 Sep 2022 19:34:40 +0000 (UTC)
commit a4c2e7ec2f26fc62a2ab28bb08d0c9fd06a02b9a
Merge: 5b8b0f6 e5780e9
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 13 12:29:31 2022 -0700
merge: layout, layout item, renames, save delegate
This commit merges the ongoing feature development for PanelSaveDialog,
massive API cleanup, and the new PanelLayout/PanelLayoutItem to save
state for applications.
I'm landing it now instead of a bit later so that we can start testing
the changes in Builder Nightly. Some work is still to be done on how we
want to save/restore state, but the container objects are in place.
The big change you'll need to handle contains things like:
* PanelDockPosition is now PanelArea and enums are updated
accordingly (PANEL_DOCK_POSITION_STATE is not PANEL_AREA_START).
* PanelDockSwitcher is now PanelToggleButton and it's "position"
property has been renamed to "area".
* Save delegate got some new features like close/discard
* Save dialog is mostly implemented now
* Lots of API/header cleanups (panel-types.h now is a thing)
* New PanelLayout and PanelLayoutItem APIs which can be used to
serialize state about the dock to be restored in a later run.
example/example-page.c | 28 ++
example/example-window.c | 33 --
example/example-window.ui | 12 +-
po/POTFILES.in | 2 +
src/libpanel.gresource.xml | 3 +-
src/libpanel.h | 11 +-
src/meson.build | 15 +-
src/panel-action-muxer-private.h | 22 +-
src/panel-action-muxer.c | 22 +-
src/panel-dock-child-private.h | 36 +-
src/panel-dock-child.c | 51 +-
src/panel-dock.c | 235 +++++----
src/panel-dock.h | 90 ++--
src/panel-drop-controls-private.h | 14 +-
src/panel-drop-controls.c | 88 ++--
src/panel-frame-header-bar.c | 9 +-
src/panel-frame-header-bar.h | 2 +-
src/panel-frame-header.c | 1 +
src/panel-frame-header.h | 3 +-
src/panel-frame-switcher.h | 3 +-
src/panel-frame-tab-bar.c | 2 +
src/panel-frame-tab-bar.h | 2 +-
src/panel-frame.c | 110 +++-
src/panel-frame.h | 4 +-
src/panel-frame.ui | 6 +-
src/panel-grid-column.c | 1 +
src/panel-grid-column.h | 5 +-
src/panel-grid-private.h | 2 -
src/panel-grid.c | 3 +
src/panel-grid.h | 4 +-
src/panel-handle-private.h | 8 +-
src/panel-handle.c | 41 +-
src/panel-init.c | 8 +-
src/panel-init.h | 4 +-
src/panel-layout-item-private.h | 32 ++
src/panel-layout-item.c | 559 +++++++++++++++++++++
src/panel-layout-item.h | 76 +++
src/panel-layout-private.h | 29 ++
src/panel-layout.c | 284 +++++++++++
src/panel-layout.h | 61 +++
src/panel-macros.h | 43 ++
src/panel-omni-bar.h | 2 +-
src/panel-paned.c | 16 +-
src/panel-paned.h | 2 +-
src/panel-position-private.h | 30 ++
src/panel-position.c | 469 +++++++++++++++++
src/panel-position.h | 78 +++
src/panel-resizer-private.h | 22 +-
src/panel-resizer.c | 86 ++--
src/panel-save-delegate.c | 140 +++++-
src/panel-save-delegate.h | 13 +-
src/panel-save-dialog-row-private.h | 41 ++
src/panel-save-dialog-row.c | 228 +++++++++
src/panel-save-dialog-row.ui | 13 +
src/panel-save-dialog.c | 447 ++++++++++++++--
src/panel-save-dialog.h | 32 +-
src/panel-save-dialog.ui | 88 +---
src/panel-statusbar.h | 2 +-
src/panel-theme-selector.h | 2 +-
...panel-dock-switcher.c => panel-toggle-button.c} | 174 ++++---
...panel-dock-switcher.h => panel-toggle-button.h} | 11 +-
...nel-dock-switcher.ui => panel-toggle-button.ui} | 2 +-
src/panel-types.h | 62 +++
src/panel-widget.c | 34 +-
src/panel-widget.h | 5 +-
src/stylesheet.css | 26 +-
testsuite/meson.build | 9 +-
testsuite/test-dock.ui | 2 +-
testsuite/test-layout.c | 89 ++++
69 files changed, 3352 insertions(+), 737 deletions(-)
---
diff --cc po/POTFILES.in
index fab3787,e26cda6..cd2e190
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@@ -3,5 -2,7 +3,7 @@@
src/panel-frame-header-bar.ui
src/panel-frame.ui
src/panel-maximized-controls.c
+ src/panel-save-dialog-row.c
+ src/panel-save-dialog.c
src/panel-save-dialog.ui
-src/panel-signal-group.c
+src/panel-theme-selector.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]