summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-10 23:57:56 +0200
committerStefano Karapetsas <[email protected]>2012-10-10 23:57:56 +0200
commit66916b20f16f9f0aad4c527519b70ac3a72bbec7 (patch)
tree110cb0a6111bb185f70c9baaf4ca699e3006e2df /data
parent604337540f95368056cca6eb9d808ef4fcc19765 (diff)
downloadmate-panel-66916b20f16f9f0aad4c527519b70ac3a72bbec7.tar.bz2
mate-panel-66916b20f16f9f0aad4c527519b70ac3a72bbec7.tar.xz
add gsettings schemas
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am14
-rw-r--r--data/org.mate.panel.gschema.xml.in78
-rw-r--r--data/org.mate.panel.object.gschema.xml.in79
-rw-r--r--data/org.mate.panel.toplevel.gschema.xml.in142
-rw-r--r--data/panel-default-layout.mate53
5 files changed, 366 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 00000000..0ff699e1
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,14 @@
+default_layoutdir = $(datadir)/mate-panel
+default_layout_DATA = panel-default-layout.mate
+
+@INTLTOOL_XML_NOMERGE_RULE@
+
+gsettings_ENUM_NAMESPACE = org.mate.panel
+gsettings_ENUM_FILES = $(top_srcdir)/mate-panel/panel-enums-gsettings.h
+
+gsettings_SCHEMAS = \
+ org.mate.panel.gschema.xml \
+ org.mate.panel.object.gschema.xml \
+ org.mate.panel.toplevel.gschema.xml
+
+@GSETTINGS_RULES@
diff --git a/data/org.mate.panel.gschema.xml.in b/data/org.mate.panel.gschema.xml.in
new file mode 100644
index 00000000..e4dd0a25
--- /dev/null
+++ b/data/org.mate.panel.gschema.xml.in
@@ -0,0 +1,78 @@
+<schemalist>
+ <schema id="org.mate.panel" path="/org/mate/panel/general/">
+ <key name="enable-program-list" type="b">
+ <default>true</default>
+ <_summary>Enable program list in "Run Application" dialog</_summary>
+ <_description>If true, the "Known Applications" listing in the "Run Application" dialog is made available. Whether or not the listing is expanded when the dialog is shown is controlled by the show_program_list key.</_description>
+ </key>
+ <key name="show-program-list" type="b">
+ <default>false</default>
+ <_summary>Expand program list in "Run Application" dialog</_summary>
+ <_description>If true, the "Known Applications" listing in the "Run Application" dialog is expanded when the dialog is opened. This key is only relevant if the enable_program_list key is true.</_description>
+ </key>
+ <key name="enable-autocompletion" type="b">
+ <default>true</default>
+ <_summary>Enable autocompletion in "Run Application" dialog</_summary>
+ <_description>If true, autocompletion in the "Run Application" dialog is made available.</_description>
+ </key>
+ <key name="history-mate-run" type="as">
+ <default>[]</default>
+ <_summary>History for "Run Application" dialog</_summary>
+ <_description>This is the list of commands used in "Run Application" dialog.</_description>
+ </key>
+ <key name="toplevel-id-list" type="as">
+ <default>[]</default>
+ <_summary>Panel ID list</_summary>
+ <_description>A list of panel IDs. Each ID identifies an individual toplevel panel. The settings for each of these panels are stored in /apps/panel/toplevels/$(id).</_description>
+ </key>
+ <key name="object-id-list" type="as">
+ <default>[]</default>
+ <_summary>Panel object ID list</_summary>
+ <_description>A list of panel object IDs. Each ID identifies an individual panel object (e.g. a launcher, action button or menu button/bar). The settings for each of these objects are stored in /apps/panel/objects/$(id).</_description>
+ </key>
+ <key name="tooltips-enabled" type="b">
+ <default>true</default>
+ <_summary>Enable tooltips</_summary>
+ <_description>If true, tooltips are shown for objects in panels.</_description>
+ </key>
+ <key name="enable-animations" type="b">
+ <default>true</default>
+ <_summary>Enable animations</_summary>
+ </key>
+ <key name="drawer-autoclose" type="b">
+ <default>true</default>
+ <_summary>Autoclose drawer</_summary>
+ <_description>If true, a drawer will automatically be closed when the user clicks a launcher in it.</_description>
+ </key>
+ <key name="confirm-panel-remove" type="b">
+ <default>true</default>
+ <_summary>Confirm panel removal</_summary>
+ <_description>If true, a dialog is shown asking for confirmation if the user wants to remove a panel.</_description>
+ </key>
+ <key name="highlight-launchers-on-mouseover" type="b">
+ <default>true</default>
+ <_summary>Highlight launchers on mouseover</_summary>
+ <_description>If true, a launcher is highlighted when the user moves the pointer over it.</_description>
+ </key>
+ <key name="locked-down" type="b">
+ <default>false</default>
+ <_summary>Complete panel lockdown</_summary>
+ <_description>If true, the panel will not allow any changes to the configuration of the panel. Individual applets may need to be locked down separately however. The panel must be restarted for this to take effect.</_description>
+ </key>
+ <key name="disabled-applets" type="as">
+ <default>[]</default>
+ <_summary>Applet IIDs to disable from loading</_summary>
+ <_description>A list of applet IIDs that the panel will ignore. This way you can disable certain applets from loading or showing up in the menu. For example to disable the mini-commander applet add 'OAFIID:MATE_MiniCommanderApplet' to this list. The panel must be restarted for this to take effect.</_description>
+ </key>
+ <key name="disable-log-out" type="b">
+ <default>false</default>
+ <_summary>Disable Logging Out</_summary>
+ <_description>If true, the panel will not allow a user to log out, by removing access to the log out menu entries.</_description>
+ </key>
+ <key name="disable-force-quit" type="b">
+ <default>false</default>
+ <_summary>Disable Force Quit</_summary>
+ <_description>If true, the panel will not allow a user to force an application to quit by removing access to the force quit button.</_description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/data/org.mate.panel.object.gschema.xml.in b/data/org.mate.panel.object.gschema.xml.in
new file mode 100644
index 00000000..e4582fd9
--- /dev/null
+++ b/data/org.mate.panel.object.gschema.xml.in
@@ -0,0 +1,79 @@
+<schemalist>
+ <schema id="org.mate.panel.object">
+ <key name="object-type" enum="org.mate.panel.PanelObjectType">
+ <default>'launcher'</default>
+ <_summary>Panel object type</_summary>
+ <_description>The type of this panel object.</_description>
+ </key>
+ <key name="toplevel-id" type="s">
+ <default>''</default>
+ <_summary>Toplevel panel containing object</_summary>
+ <_description>The identifier of the toplevel panel which contains this object.</_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>
+ </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>
+ </key>
+ <key name="locked" type="b">
+ <default>false</default>
+ <_summary>Lock the object to the panel</_summary>
+ <_description>If true, the user may not move the applet without first unlocking the object using the "Unlock" menuitem.</_description>
+ </key>
+ <key name="applet-iid" type="s">
+ <default>''</default>
+ <_summary>Applet IID</_summary>
+ <_description>The implementation ID of the applet - e.g. "ClockAppletFactory::ClockApplet". This key is only relevant if the object_type key is "external-applet" (or the deprecated "matecomponent-applet").</_description>
+ </key>
+ <key name="attached-toplevel-id" type="s">
+ <default>''</default>
+ <_summary>Panel attached to drawer</_summary>
+ <_description>The identifier of the panel attached to this drawer. This key is only relevant if the object_type key is "drawer-object".</_description>
+ </key>
+ <key name="tooltip" type="s">
+ <default>''</default>
+ <_summary>Tooltip displayed for drawer or menu</_summary>
+ <_description>The text to display in a tooltip for this drawer or this menu. This key is only relevant if the object_type key is "drawer-object" or "menu-object".</_description>
+ </key>
+ <key name="use-custom-icon" type="b">
+ <default>false</default>
+ <_summary>Use custom icon for object's button</_summary>
+ <_description>If true, the custom_icon key is used as a custom icon for the button. If false, the custom_icon key is ignored. This key is only relevant if the object_type key is "menu-object" or "drawer-object".</_description>
+ </key>
+ <key name="custom-icon" type="s">
+ <default>''</default>
+ <_summary>Icon used for object's button</_summary>
+ <_description>The location of the image file used as the icon for the object's button. This key is only relevant if the object_type key is "drawer-object" or "menu-object" and the use_custom_icon key is true.</_description>
+ </key>
+ <key name="use-menu-path" type="b">
+ <default>false</default>
+ <_summary>Use custom path for menu contents</_summary>
+ <_description>If true, the menu_path key is used as the path from which the menu contents should be constructed. If false, the menu_path key is ignored. This key is only relevant if the object_type key is "menu-object".</_description>
+ </key>
+ <key name="menu-path" type="s">
+ <default>'applications:/'</default>
+ <_summary>Menu content path</_summary>
+ <_description>The path from which the menu contents is contructed. This key is only relevant if the use_menu_path key is true and the object_type key is "menu-object".</_description>
+ </key>
+ <key name="has-arrow" type="b">
+ <default>true</default>
+ <_summary>Draw arrow in menu button</_summary>
+ <_description>If true, an arrow is drawn over the menu button icon. If false, menu button has only the icon.</_description>
+ </key>
+ <key name="launcher-location" type="s">
+ <default>''</default>
+ <_summary>Launcher location</_summary>
+ <_description>The location of the .desktop file describing the launcher. This key is only relevant if the object_type key is "launcher-object".</_description>
+ </key>
+ <key name="action-type" enum="org.mate.panel.PanelActionButtonType">
+ <default>'none'</default>
+ <_summary>Action button type</_summary>
+ <_description>The action type this button represents. Possible values are "lock", "logout", "run", "search" and "screenshot". This key is only relevant if the object_type key is "action-applet".</_description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/data/org.mate.panel.toplevel.gschema.xml.in b/data/org.mate.panel.toplevel.gschema.xml.in
new file mode 100644
index 00000000..c3b5944d
--- /dev/null
+++ b/data/org.mate.panel.toplevel.gschema.xml.in
@@ -0,0 +1,142 @@
+<schemalist>
+ <schema id="org.mate.panel.toplevel">
+ <key name="name" type="s">
+ <default>''</default>
+ <_summary>Name to identify panel</_summary>
+ <_description>This is a human readable name which you can use to identify a panel. Its main purpose is to serve as the panel's window title which is useful when navigating between panels.</_description>
+ </key>
+ <key name="screen" type="i">
+ <default>0</default>
+ <_summary>X screen where the panel is displayed</_summary>
+ <_description>With a multi-screen setup, you may have panels on each individual screen. This key identifies the current screen the panel is displayed on.</_description>
+ </key>
+ <key name="monitor" type="i">
+ <default>0</default>
+ <_summary>Xinerama monitor where the panel is displayed</_summary>
+ <_description>In a Xinerama setup, you may have panels on each individual monitor. This key identifies the current monitor the panel is displayed on.</_description>
+ </key>
+ <key name="expand" type="b">
+ <default>true</default>
+ <_summary>Expand to occupy entire screen width</_summary>
+ <_description>If true, the panel will occupy the entire screen width (height if this is a vertical panel). In this mode the panel can only be placed at a screen edge. If false, the panel will only be large enough to accommodate the applets, launchers and buttons on the panel.</_description>
+ </key>
+ <key name="orientation" enum="org.mate.panel.PanelOrientation">
+ <default>'top'</default>
+ <_summary>Panel orientation</_summary>
+ <_description>The orientation of the panel. Possible values are "top", "bottom", "left", "right". In expanded mode the key specifies which screen edge the panel is on. In un-expanded mode the difference between "top" and "bottom" is less important - both indicate that this is a horizontal panel - but still give a useful hint as to how some panel objects should behave. For example, on a "top" panel a menu button will pop up its menu below the panel, whereas on a "bottom" panel the menu will be popped up above the panel.</_description>
+ </key>
+ <key name="size" type="i">
+ <default>24</default>
+ <_summary>Panel size</_summary>
+ <_description>The height (width for a vertical panel) of the panel. The panel will determine at runtime a minimum size based on the font size and other indicators. The maximum size is fixed at one quarter of the screen height (or width).</_description>
+ </key>
+ <key name="x" type="i">
+ <default>0</default>
+ <_summary>X co-ordinate of panel</_summary>
+ <_description>The location of the panel along the x-axis. This key is only relevant in un-expanded mode. In expanded mode this key is ignored and the panel is placed at the screen edge specified by the orientation key.</_description>
+ </key>
+ <key name="y" type="i">
+ <default>0</default>
+ <_summary>Y co-ordinate of panel</_summary>
+ <_description>The location of the panel along the y-axis. This key is only relevant in un-expanded mode. In expanded mode this key is ignored and the panel is placed at the screen edge specified by the orientation key.</_description>
+ </key>
+ <key name="x-right" type="i">
+ <default>-1</default>
+ <_summary>X co-ordinate of panel, starting from the right of the screen</_summary>
+ <_description>The location of the panel along the x-axis, starting from the right of the screen. If set to -1, the value is ignored and the value of the x key is used. If the value is greater than 0, then the value of the x key is ignored. This key is only relevant in un-expanded mode. In expanded mode this key is ignored and the panel is placed at the screen edge specified by the orientation key.</_description>
+ </key>
+ <key name="y-bottom" type="i">
+ <default>-1</default>
+ <_summary>Y co-ordinate of panel, starting from the bottom of the screen</_summary>
+ <_description>The location of the panel along the y-axis, starting from the bottom of the screen. If set to -1, the value is ignored and the value of the y key is used. If the value is greater than 0, then the value of the y key is ignored. This key is only relevant in un-expanded mode. In expanded mode this key is ignored and the panel is placed at the screen edge specified by the orientation key.</_description>
+ </key>
+ <key name="x-centered" type="b">
+ <default>false</default>
+ <_summary>Center panel on x-axis</_summary>
+ <_description>If true, the x and x_right keys are ignored and the panel is placed at the center of the x-axis of the screen. If the panel is resized it will remain at that position - i.e. the panel will grow on both sides. If false, the x and x_right keys specify the location of the panel.</_description>
+ </key>
+ <key name="y-centered" type="b">
+ <default>false</default>
+ <_summary>Center panel on y-axis</_summary>
+ <_description>If true, the y and y_bottom keys are ignored and the panel is placed at the center of the y-axis of the screen. If the panel is resized it will remain at that position - i.e. the panel will grow on both sides. If false, the y and y_bottom keys specify the location of the panel.</_description>
+ </key>
+ <key name="auto-hide" type="b">
+ <default>false</default>
+ <_summary>Automatically hide panel into corner</_summary>
+ <_description>If true, the panel is automatically hidden into a corner of the screen when the pointer leaves the panel area. Moving the pointer to that corner again will cause the panel to re-appear.</_description>
+ </key>
+ <key name="enable-animations" type="b">
+ <default>true</default>
+ <_summary>Enable animations</_summary>
+ <_description>If true, hiding and un-hiding of this panel will be animated rather than happening instantly.</_description>
+ </key>
+ <key name="enable-buttons" type="b">
+ <default>false</default>
+ <_summary>Enable hide buttons</_summary>
+ <_description>If true, buttons will be placed on each side of the panel which may be used to move the panel to edge of the screen, leaving only a button showing.</_description>
+ </key>
+ <key name="enable-arrows" type="b">
+ <default>true</default>
+ <_summary>Enable arrows on hide buttons</_summary>
+ <_description>If true, arrows will be placed on the hide buttons. This key is only relevant if the enable_buttons key is true.</_description>
+ </key>
+ <key name="hide-delay" type="i">
+ <default>300</default>
+ <_summary>Panel autohide delay</_summary>
+ <_description>Specifies the number of milliseconds delay after the pointer leaves the panel area before the panel is automatically hidden. This key is only relevant if the auto_hide key is true.</_description>
+ </key>
+ <key name="unhide-delay" type="i">
+ <default>100</default>
+ <_summary>Panel autounhide delay</_summary>
+ <_description>Specifies the number of milliseconds delay after the pointer enters the panel area before the panel is automatically re-shown. This key is only relevant if the auto_hide key is true.</_description>
+ </key>
+ <key name="auto-hide-size" type="i">
+ <default>1</default>
+ <_summary>Visible pixels when hidden</_summary>
+ <_description>Specifies the number of pixels visible when the panel is automatically hidden into a corner. This key is only relevant if the auto_hide key is true.</_description>
+ </key>
+ <key name="animation-speed" enum="org.mate.panel.PanelAnimationSpeed">
+ <default>'fast'</default>
+ <_summary>Animation speed</_summary>
+ <_description>The speed in which panel animations should occur. Possible values are "slow", "medium" and "fast". This key is only relevant if the enable_animations key is true.</_description>
+ </key>
+ <child name="background" schema="org.mate.panel.toplevel.background"/>
+ </schema>
+ <schema id="org.mate.panel.toplevel.background">
+ <key name="type" enum="org.mate.panel.PanelBackgroundType">
+ <default>'none'</default>
+ <_summary>Background type</_summary>
+ <_description>Which type of background should be used for this panel. Possible values are "none" - the default GTK+ widget background will be used, "color" - the color key will be used as background color or "image" - the image specified by the image key will be used as background.</_description>
+ </key>
+ <key name="color" type="s">
+ <default>'#ffffff'</default>
+ <_summary>Background color</_summary>
+ <_description>Specifies the background color for the panel in #RGB format.</_description>
+ </key>
+ <key name="opacity" type="i">
+ <default>6000</default>
+ <_summary>Background color opacity</_summary>
+ <_description>Specifies the opacity of the background color format. If the color is not completely opaque (a value of less than 65535), the color will be composited onto the desktop background image.</_description>
+ </key>
+ <key name="image" type="s">
+ <default>''</default>
+ <_summary>Background image</_summary>
+ <_description>Specifies the file to be used for the background image. If the image contains an alpha channel it will be composited onto the desktop background image.</_description>
+ </key>
+ <key name="fit" type="b">
+ <default>false</default>
+ <_summary>Fit image to panel</_summary>
+ <_description>If true, the image will be scaled (retaining the aspect ratio of the image) to the panel height (if horizontal).</_description>
+ </key>
+ <key name="stretch" type="b">
+ <default>false</default>
+ <_summary>Stretch image to panel</_summary>
+ <_description>If true, the image will be scaled to the panel dimensions. The aspect ratio of the image will not be maintained.</_description>
+ </key>
+ <key name="rotate" type="b">
+ <default>false</default>
+ <_summary>Rotate image on vertical panels</_summary>
+ <_description>If true, the background image will be rotated when the panel is oriented vertically.</_description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/data/panel-default-layout.mate b/data/panel-default-layout.mate
new file mode 100644
index 00000000..77923b42
--- /dev/null
+++ b/data/panel-default-layout.mate
@@ -0,0 +1,53 @@
+[Toplevel top]
+expand=true
+orientation=top
+size=24
+
+[Toplevel bottom]
+expand=true
+orientation=bottom
+size=24
+
+[Object menu-bar]
+object-type=menu-bar
+toplevel-id=top
+position=0
+locked=true
+
+[Object notification-area]
+object-type=applet
+applet-iid=NotificationAreaAppletFactory::NotificationArea
+toplevel-id=top
+position=10
+panel-right-stick=true
+locked=true
+
+[Object clock]
+object-type=applet
+applet-iid=ClockAppletFactory::ClockApplet
+toplevel-id=top
+position=0
+panel-right-stick=true
+locked=true
+
+[Object show-desktop]
+object-type=applet
+applet-iid=WnckletFactory::ShowDesktopApplet
+toplevel-id=bottom
+position=0
+locked=true
+
+[Object window-list]
+object-type=applet
+applet-iid=WnckletFactory::WindowListApplet
+toplevel-id=bottom
+position=20
+locked=true
+
+[Object workspace-switcher]
+object-type=applet
+applet-iid=WnckletFactory::WorkspaceSwitcherApplet
+toplevel-id=bottom
+position=0
+panel-right-stick=true
+locked=true