diff options
| author | Victor Kareh <[email protected]> | 2026-07-09 12:36:01 -0400 |
|---|---|---|
| committer | Luke from DC <[email protected]> | 2026-07-27 23:15:29 +0000 |
| commit | 29c889238c3f5d7c24c37e23167a47acbdbfe660 (patch) | |
| tree | 63d1b387a56b119ff92e00ad98928112d8c1bb79 /data | |
| parent | c6e8d213b702d397363d7f9ada30fef52eafb91b (diff) | |
| download | mate-panel-29c889238c3f5d7c24c37e23167a47acbdbfe660.tar.bz2 mate-panel-29c889238c3f5d7c24c37e23167a47acbdbfe660.tar.xz | |
panel: Change panel-right-stick (boolean) key to pack-type (enum) in object schema
This will make it easier to add a way to center objects later on.
We'll have a pack-index key soon.
Backported from:
- https://gitlab.gnome.org/GNOME/gnome-panel/-/commit/446ff991d
- https://gitlab.gnome.org/GNOME/gnome-panel/-/commit/f42b54636
Diffstat (limited to 'data')
| -rw-r--r-- | data/org.mate.panel.object.gschema.xml.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/data/org.mate.panel.object.gschema.xml.in b/data/org.mate.panel.object.gschema.xml.in index 73656bc5..b5cc6ae7 100644 --- a/data/org.mate.panel.object.gschema.xml.in +++ b/data/org.mate.panel.object.gschema.xml.in @@ -10,15 +10,20 @@ <summary>Toplevel panel containing object</summary> <description>The identifier of the toplevel panel which contains this object.</description> </key> + <key name="pack-type" enum="org.mate.panel.PanelObjectPackType"> + <default>'start'</default> + <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="position" 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> + <summary>Object's position on the panel (deprecated)</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. Deprecated in favor of pack-type and pack-index.</description> </key> <key name="panel-right-stick" type="b"> <default>false</default> - <summary>Interpret position relative to bottom/right edge</summary> - <description>If true, the position of the object is interpreted relative to the right (or bottom if vertical) edge of the panel.</description> + <summary>Interpret position relative to bottom/right edge (deprecated)</summary> + <description>If true, the position of the object is interpreted relative to the right (or bottom if vertical) edge of the panel. Deprecated in favor of pack-type.</description> </key> <key name="locked" type="b"> <default>false</default> |
