Sisyphus repositório
Última atualização: 26 novembro 2021 | SRPMs: 17424 | Visitas: 22394745
en ru br
ALT Linux repositórios
S:1.0.13-alt1

Group :: Desktop gráfico/XFce
RPM: xfce4-panel-profiles

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: xfce4-panel-profiles-1.0.12-alt1.patch
Download


 Makefile.in.in                                     |  1 +
 data/layouts/SL-9/config.txt                       | 39 ++++++++++++++++++++++
 .../SL-9/launcher-5/exo-web-browser.desktop        | 18 ++++++++++
 xfce4-panel-profiles/xfce4-panel-profiles.py       | 11 ++----
 4 files changed, 61 insertions(+), 8 deletions(-)
diff --git a/Makefile.in.in b/Makefile.in.in
index d518505..39c8627 100644
--- a/Makefile.in.in
+++ b/Makefile.in.in
@@ -41,6 +41,7 @@ layouts:
 	cd data/layouts/xubuntu-14.04; tar $(TAROPTS) -cvjf "../Xubuntu 14.04 (Trusty).tar.bz2" *
 	cd data/layouts/xubuntu-18.04; tar $(TAROPTS) -cvjf "../Xubuntu 18.04 (Bionic).tar.bz2" *
 	cd data/layouts/openSUSE-Leap-15.x; tar $(TAROPTS) -cvjf "../openSUSE Leap 15.x.tar.bz2" *
+	cd data/layouts/SL-9; tar $(TAROPTS) -cvjf "../Simply Linux 9.tar.bz2" *
 
 install: all xfce4-panel-profiles.1
 	install -d $(DESTDIR)/$(PREFIX)/bin
diff --git a/data/layouts/SL-9/config.txt b/data/layouts/SL-9/config.txt
new file mode 100644
index 0000000..03d21f9
--- /dev/null
+++ b/data/layouts/SL-9/config.txt
@@ -0,0 +1,39 @@
+/configver 2
+/panels [<1>]
+/panels/panel-1/length uint32 100
+/panels/panel-1/plugin-ids [<13>, <2>, <3>, <4>, <5>, <6>, <7>, <15>, <1>, <9>, <10>, <11>, <12>, <8>, <16>, <14>]
+/panels/panel-1/position 'p=12;x=379;y=741'
+/panels/panel-1/position-locked true
+/panels/panel-1/size uint32 32
+/plugins/plugin-1 'xkb'
+/plugins/plugin-1/display-scale uint32 60
+/plugins/plugin-1/display-type uint32 1
+/plugins/plugin-10 'separator'
+/plugins/plugin-10/style uint32 1
+/plugins/plugin-11 'pulseaudio'
+/plugins/plugin-11/enable-keyboard-shortcuts true
+/plugins/plugin-12 'separator'
+/plugins/plugin-12/style uint32 1
+/plugins/plugin-13 'whiskermenu'
+/plugins/plugin-14 'actions'
+/plugins/plugin-14/appearance uint32 0
+/plugins/plugin-14/items [<'-lock-screen'>, <'-switch-user'>, <'-separator'>, <'-suspend'>, <'-hibernate'>, <'-separator'>, <'-shutdown'>, <'-restart'>, <'-separator'>, <'+logout'>, <'-logout-dialog'>]
+/plugins/plugin-15 'separator'
+/plugins/plugin-15/expand true
+/plugins/plugin-15/style uint32 0
+/plugins/plugin-16 'places'
+/plugins/plugin-2 'separator'
+/plugins/plugin-2/style uint32 1
+/plugins/plugin-3 'showdesktop'
+/plugins/plugin-4 'separator'
+/plugins/plugin-4/style uint32 1
+/plugins/plugin-5 'launcher'
+/plugins/plugin-5/items [<'exo-web-browser.desktop'>]
+/plugins/plugin-6 'pager'
+/plugins/plugin-6/rows uint32 2
+/plugins/plugin-7 'tasklist'
+/plugins/plugin-7/flat-buttons true
+/plugins/plugin-7/switch-workspace-on-unminimize false
+/plugins/plugin-8 'datetime'
+/plugins/plugin-9 'systray'
+/plugins/plugin-9/show-frame false
diff --git a/data/layouts/SL-9/launcher-5/exo-web-browser.desktop b/data/layouts/SL-9/launcher-5/exo-web-browser.desktop
new file mode 100644
index 0000000..5042474
--- /dev/null
+++ b/data/layouts/SL-9/launcher-5/exo-web-browser.desktop
@@ -0,0 +1,18 @@
+
+[Desktop Entry]
+Version=1.0
+Type=Application
+Exec=exo-open --launch WebBrowser %u
+TryExec=exo-open --launch WebBrowser %u
+Icon=web-browser
+StartupNotify=false
+Terminal=false
+Categories=Network;X-XFCE;X-Xfce-Toplevel;
+OnlyShowIn=XFCE;
+MimeType=x-scheme-handler/http;x-scheme-handler/https;
+Name=Web Browser
+Name[ru]=Веб-браузер
+Comment=Browse the web
+Comment[ru]=Смотреть в интернете
+X-XFCE-Source=file:///usr/share/slinux-style/applications/exo-web-browser.desktop
+Path=
diff --git a/xfce4-panel-profiles/xfce4-panel-profiles.py b/xfce4-panel-profiles/xfce4-panel-profiles.py
index 81d236e..215cda8 100644
--- a/xfce4-panel-profiles/xfce4-panel-profiles.py
+++ b/xfce4-panel-profiles/xfce4-panel-profiles.py
@@ -32,14 +32,9 @@ import warnings
 
 import gi
 gi.require_version('Gtk', '3.0')
-# Try to import the new Libxfce4ui gir name (since 4.15.7)
-# if it does not exists, try the old libxfce4ui
-try:
-  gi.require_version('Libxfce4ui', '2.0')
-  from gi.repository import Libxfce4ui as libxfce4ui
-except ValueError:
-  gi.require_version('libxfce4ui', '2.0')
-  from gi.repository import libxfce4ui
+
+gi.require_version('Libxfce4ui', '2.0')
+from gi.repository import Libxfce4ui as libxfce4ui
 
 from gi.repository import Gtk, GLib, Gio
 
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009