mate-panel: updated layout syntax

This commit is contained in:
Ruben Rodriguez 2016-11-28 20:01:38 -05:00
parent b7effd3c04
commit 42f9b1dc04

View file

@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=2 VERSION=3
. ./config . ./config
@ -26,55 +26,73 @@ sed 's/"tooltip", tooltip,/"tooltip", "Trisquel",/; s/"has-arrow", TRUE,/"has-ar
# Custom layout # Custom layout
cat << EOF > data/panel-default-layout.layout cat << EOF > data/panel-default-layout.layout
[Toplevel panel] [Toplevel bottom]
expand=true expand=true
orientation=bottom orientation=bottom
size=44 size=42
y-bottom=0
[Object menu-bar] [Object mate-menu]
object-iid=PanelInternalFactory::MenuButton locked=true
toplevel-id=panel position=0
pack-type=start toplevel-id=bottom
pack-index=0 applet-iid=MateMenuAppletFactory::MateMenuApplet
object-type=applet
[Object home]
object-iid=PanelInternalFactory::Launcher
@instance-config/location="file:///usr/share/applications/home.desktop"
pack-index=10
pack-type=start
toplevel-id=panel
[Object abrowser] [Object files]
object-iid=PanelInternalFactory::Launcher locked=true
@instance-config/location="file:///usr/share/applications/browser.desktop" position=20
pack-index=20 launcher-location=/usr/share/applications/caja.desktop
pack-type=start toplevel-id=bottom
toplevel-id=panel object-type=launcher
menu-path=applications:/
[Object browser]
locked=true
position=30
launcher-location=/usr/share/applications/abrowser.desktop
toplevel-id=bottom
object-type=launcher
menu-path=applications:/
[Object window-list] [Object window-list]
object-iid=WnckletFactory::WindowListApplet object-type=applet
pack-index=30 applet-iid=WnckletFactory::WindowListApplet
pack-type=start toplevel-id=bottom
toplevel-id=panel position=40
locked=true
[Object notification-area] [Object notification-area]
object-iid=NotificationAreaAppletFactory::NotificationArea object-type=applet
pack-index=11 applet-iid=NotificationAreaAppletFactory::NotificationArea
pack-type=end toplevel-id=bottom
toplevel-id=panel position=30
panel-right-stick=true
locked=true
[Object indicators] [Object indicatorappletcomplete]
object-iid=IndicatorAppletFactory::IndicatorApplet object-type=applet
toplevel-id=panel applet-iid=IndicatorAppletCompleteFactory::IndicatorAppletComplete
pack-type=end toplevel-id=bottom
pack-index=10 position=20
panel-right-stick=true
locked=true
[Object show-desktop] [Object clock]
object-iid=WnckletFactory::ShowDesktopApplet object-type=applet
pack-index=0 applet-iid=ClockAppletFactory::ClockApplet
pack-type=end toplevel-id=bottom
toplevel-id=panel position=10
panel-right-stick=true
locked=true
[Object showdesktopapplet]
locked=true
position=0
panel-right-stick=true
toplevel-id=bottom
applet-iid=WnckletFactory::ShowDesktopApplet
object-type=applet
EOF EOF