From 66916b20f16f9f0aad4c527519b70ac3a72bbec7 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 10 Oct 2012 23:57:56 +0200 Subject: add gsettings schemas --- data/Makefile.am | 14 +++ data/org.mate.panel.gschema.xml.in | 78 +++++++++++++++ data/org.mate.panel.object.gschema.xml.in | 79 ++++++++++++++++ data/org.mate.panel.toplevel.gschema.xml.in | 142 ++++++++++++++++++++++++++++ data/panel-default-layout.mate | 53 +++++++++++ 5 files changed, 366 insertions(+) create mode 100644 data/Makefile.am create mode 100644 data/org.mate.panel.gschema.xml.in create mode 100644 data/org.mate.panel.object.gschema.xml.in create mode 100644 data/org.mate.panel.toplevel.gschema.xml.in create mode 100644 data/panel-default-layout.mate (limited to 'data') 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 @@ + + + + true + <_summary>Enable program list in "Run Application" dialog + <_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. + + + false + <_summary>Expand program list in "Run Application" dialog + <_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. + + + true + <_summary>Enable autocompletion in "Run Application" dialog + <_description>If true, autocompletion in the "Run Application" dialog is made available. + + + [] + <_summary>History for "Run Application" dialog + <_description>This is the list of commands used in "Run Application" dialog. + + + [] + <_summary>Panel ID list + <_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). + + + [] + <_summary>Panel object ID list + <_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). + + + true + <_summary>Enable tooltips + <_description>If true, tooltips are shown for objects in panels. + + + true + <_summary>Enable animations + + + true + <_summary>Autoclose drawer + <_description>If true, a drawer will automatically be closed when the user clicks a launcher in it. + + + true + <_summary>Confirm panel removal + <_description>If true, a dialog is shown asking for confirmation if the user wants to remove a panel. + + + true + <_summary>Highlight launchers on mouseover + <_description>If true, a launcher is highlighted when the user moves the pointer over it. + + + false + <_summary>Complete panel lockdown + <_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. + + + [] + <_summary>Applet IIDs to disable from loading + <_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. + + + false + <_summary>Disable Logging Out + <_description>If true, the panel will not allow a user to log out, by removing access to the log out menu entries. + + + false + <_summary>Disable Force Quit + <_description>If true, the panel will not allow a user to force an application to quit by removing access to the force quit button. + + + 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 @@ + + + + 'launcher' + <_summary>Panel object type + <_description>The type of this panel object. + + + '' + <_summary>Toplevel panel containing object + <_description>The identifier of the toplevel panel which contains this object. + + + 0 + <_summary>Object's position on the panel + <_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. + + + false + <_summary>Interpret position relative to bottom/right edge + <_description>If true, the position of the object is interpreted relative to the right (or bottom if vertical) edge of the panel. + + + false + <_summary>Lock the object to the panel + <_description>If true, the user may not move the applet without first unlocking the object using the "Unlock" menuitem. + + + '' + <_summary>Applet IID + <_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"). + + + '' + <_summary>Panel attached to drawer + <_description>The identifier of the panel attached to this drawer. This key is only relevant if the object_type key is "drawer-object". + + + '' + <_summary>Tooltip displayed for drawer or menu + <_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". + + + false + <_summary>Use custom icon for object's button + <_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". + + + '' + <_summary>Icon used for object's button + <_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. + + + false + <_summary>Use custom path for menu contents + <_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". + + + 'applications:/' + <_summary>Menu content path + <_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". + + + true + <_summary>Draw arrow in menu button + <_description>If true, an arrow is drawn over the menu button icon. If false, menu button has only the icon. + + + '' + <_summary>Launcher location + <_description>The location of the .desktop file describing the launcher. This key is only relevant if the object_type key is "launcher-object". + + + 'none' + <_summary>Action button type + <_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". + + + 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 @@ + + + + '' + <_summary>Name to identify panel + <_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. + + + 0 + <_summary>X screen where the panel is displayed + <_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. + + + 0 + <_summary>Xinerama monitor where the panel is displayed + <_description>In a Xinerama setup, you may have panels on each individual monitor. This key identifies the current monitor the panel is displayed on. + + + true + <_summary>Expand to occupy entire screen width + <_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. + + + 'top' + <_summary>Panel orientation + <_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. + + + 24 + <_summary>Panel size + <_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). + + + 0 + <_summary>X co-ordinate of panel + <_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. + + + 0 + <_summary>Y co-ordinate of panel + <_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. + + + -1 + <_summary>X co-ordinate of panel, starting from the right of the screen + <_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. + + + -1 + <_summary>Y co-ordinate of panel, starting from the bottom of the screen + <_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. + + + false + <_summary>Center panel on x-axis + <_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. + + + false + <_summary>Center panel on y-axis + <_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. + + + false + <_summary>Automatically hide panel into corner + <_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. + + + true + <_summary>Enable animations + <_description>If true, hiding and un-hiding of this panel will be animated rather than happening instantly. + + + false + <_summary>Enable hide buttons + <_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. + + + true + <_summary>Enable arrows on hide buttons + <_description>If true, arrows will be placed on the hide buttons. This key is only relevant if the enable_buttons key is true. + + + 300 + <_summary>Panel autohide delay + <_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. + + + 100 + <_summary>Panel autounhide delay + <_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. + + + 1 + <_summary>Visible pixels when hidden + <_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. + + + 'fast' + <_summary>Animation speed + <_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. + + + + + + 'none' + <_summary>Background type + <_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. + + + '#ffffff' + <_summary>Background color + <_description>Specifies the background color for the panel in #RGB format. + + + 6000 + <_summary>Background color opacity + <_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. + + + '' + <_summary>Background image + <_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. + + + false + <_summary>Fit image to panel + <_description>If true, the image will be scaled (retaining the aspect ratio of the image) to the panel height (if horizontal). + + + false + <_summary>Stretch image to panel + <_description>If true, the image will be scaled to the panel dimensions. The aspect ratio of the image will not be maintained. + + + false + <_summary>Rotate image on vertical panels + <_description>If true, the background image will be rotated when the panel is oriented vertically. + + + 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 -- cgit v1.2.1