diff options
| author | Victor Kareh <[email protected]> | 2026-07-09 15:19:30 -0400 |
|---|---|---|
| committer | Luke from DC <[email protected]> | 2026-07-27 23:15:29 +0000 |
| commit | 1da140c5e95d382dfe60d6a80ef28d18afbabe06 (patch) | |
| tree | 864dafb1bc4f94784550f60fa98d477a032906ab /data | |
| parent | 59d1bf98a3d37819b65dc780cca22c2cf38260be (diff) | |
| download | mate-panel-1da140c5e95d382dfe60d6a80ef28d18afbabe06.tar.bz2 mate-panel-1da140c5e95d382dfe60d6a80ef28d18afbabe06.tar.xz | |
panel: Move to a model where panel objects are all packed
Instead of positioning objects on specific positions on panels, we pack
them all either at the start or the end. This simplifies things a lot, and
helps keep clean panels.
Note that adding/moving objects is broken right now.
For backward compatibility the old position key is still read and used
as a fallback.
Backported from https://gitlab.gnome.org/GNOME/gnome-panel/-/commit/6db6be277
Diffstat (limited to 'data')
| -rw-r--r-- | data/org.mate.panel.object.gschema.xml.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/org.mate.panel.object.gschema.xml.in b/data/org.mate.panel.object.gschema.xml.in index b5cc6ae7..1af53d89 100644 --- a/data/org.mate.panel.object.gschema.xml.in +++ b/data/org.mate.panel.object.gschema.xml.in @@ -15,6 +15,11 @@ <summary>Interpret position relative to bottom/right edge</summary> <description>If set to 'end', the position of the object is interpreted relative to the right (or bottom if vertical) edge of the panel.</description> </key> + <key name="pack-index" type="i"> + <default>0</default> + <summary>Object's position on the panel</summary> + <description>The position of this panel object. The position is specified by the number of pixels from the left (or top if vertical) panel edge.</description> + </key> <key name="position" type="i"> <default>0</default> <summary>Object's position on the panel (deprecated)</summary> |
