[gnome-flashback/wip/muktupavels/test: 15/15] data: install gnome-panel layout file



commit ed1f5fe468fa55edc93ec29926ca406bc7728910
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Dec 17 16:41:56 2019 +0200

    data: install gnome-panel layout file

 configure.ac                            |  4 +++
 data/Makefile.am                        |  1 +
 data/gnome-panel/Makefile.am            | 16 ++++++++++
 data/gnome-panel/gnome-flashback.layout | 55 +++++++++++++++++++++++++++++++++
 4 files changed, 76 insertions(+)
---
diff --git a/configure.ac b/configure.ac
index ed2d0b3..605042f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -322,6 +322,9 @@ AS_IF([test "x$with_system_indicators" != "xno"], [
                    [found_libgnome_panel="yes"], [found_libgnome_panel="no"])
 
   AS_IF([test "x$found_libgnome_panel" = "xyes"], [
+    GNOME_PANEL_LAYOUTS_DIR=`$PKG_CONFIG --variable=layoutsdir libgnome-panel`
+    AC_SUBST([GNOME_PANEL_LAYOUTS_DIR], [$GNOME_PANEL_LAYOUTS_DIR])
+
     GNOME_PANEL_MODULES_DIR=`$PKG_CONFIG --variable=modulesdir libgnome-panel`
     AC_SUBST([GNOME_PANEL_MODULES_DIR], [$GNOME_PANEL_MODULES_DIR])
 
@@ -387,6 +390,7 @@ AC_CONFIG_FILES([
   data/autostart/Makefile
   data/compizconfig/Makefile
   data/directories/Makefile
+  data/gnome-panel/Makefile
   data/menus/Makefile
   data/schemas/Makefile
   data/sessions/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index e9227de..5ba85b9 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -5,6 +5,7 @@ SUBDIRS = \
        autostart \
        compizconfig \
        directories \
+       gnome-panel \
        menus \
        schemas \
        sessions \
diff --git a/data/gnome-panel/Makefile.am b/data/gnome-panel/Makefile.am
new file mode 100644
index 0000000..17c4a87
--- /dev/null
+++ b/data/gnome-panel/Makefile.am
@@ -0,0 +1,16 @@
+NULL =
+
+layout_files = \
+       gnome-flashback.layout \
+       $(NULL)
+
+if WITH_SYSTEM_INDICATORS
+layoutsdir = $(GNOME_PANEL_LAYOUTS_DIR)
+layouts_DATA = $(layout_files)
+endif
+
+EXTRA_DIST = \
+       $(layout_files) \
+       $(NULL)
+
+-include $(top_srcdir)/git.mk
diff --git a/data/gnome-panel/gnome-flashback.layout b/data/gnome-panel/gnome-flashback.layout
new file mode 100644
index 0000000..c97f137
--- /dev/null
+++ b/data/gnome-panel/gnome-flashback.layout
@@ -0,0 +1,55 @@
+[Toplevel top-panel]
+expand=true
+orientation=top
+size=24
+
+[Toplevel bottom-panel]
+expand=true
+orientation=bottom
+size=24
+y-bottom=0
+
+[Object menu-bar]
+object-iid=org.gnome.gnome-panel.menu::menu-bar
+toplevel-id=top-panel
+pack-index=0
+
+[Object notification-area]
+object-iid=org.gnome.gnome-panel.notification-area::notification-area
+toplevel-id=top-panel
+pack-type=end
+pack-index=3
+
+[Object system-indicators]
+object-iid=org.gnome.gnome-flashback.system-indicators::system-indicators
+toplevel-id=top-panel
+pack-type=end
+pack-index=2
+
+[Object clock]
+object-iid=org.gnome.gnome-panel.clock::clock
+toplevel-id=top-panel
+pack-type=end
+pack-index=1
+
+[Object user-menu]
+object-iid=org.gnome.gnome-panel.menu::user-menu
+toplevel-id=top-panel
+pack-type=end
+pack-index=0
+
+[Object show-destkop]
+object-iid=org.gnome.gnome-panel.wncklet::show-desktop
+toplevel-id=bottom-panel
+pack-index=0
+
+[Object window-list]
+object-iid=org.gnome.gnome-panel.wncklet::window-list
+toplevel-id=bottom-panel
+pack-index=1
+
+[Object workspace-switcher]
+object-iid=org.gnome.gnome-panel.wncklet::workspace-switcher
+toplevel-id=bottom-panel
+pack-type=end
+pack-index=0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]