diff options
Diffstat (limited to 'desktop/lxpanel')
-rw-r--r-- | desktop/lxpanel/config/panel | 55 | ||||
-rw-r--r-- | desktop/lxpanel/lxpanel.SlackBuild | 6 | ||||
-rw-r--r-- | desktop/lxpanel/lxpanel.info | 6 | ||||
-rw-r--r-- | desktop/lxpanel/patches/lxpanel-0.10.1-fix-pager-panel-width.patch | 37 |
4 files changed, 20 insertions, 84 deletions
diff --git a/desktop/lxpanel/config/panel b/desktop/lxpanel/config/panel index f538775714..16a8a19faa 100644 --- a/desktop/lxpanel/config/panel +++ b/desktop/lxpanel/config/panel @@ -3,7 +3,7 @@ Global { edge=bottom - allign=left + align=center margin=0 widthtype=percent width=95 @@ -15,22 +15,13 @@ Global { setpartialstrut=1 usefontcolor=1 fontcolor=#ffffff - usefontsize=0 - fontsize=10 background=1 backgroundfile=/usr/share/lxpanel/images/background.png - align=center -} -Plugin { - type=space - Config { - Size=2 - } } Plugin { type=menu Config { - image=/usr/share/lxpanel/images/my-computer.png + image=/usr/share/lxde/images/lxde-icon.png system { } separator { @@ -53,20 +44,20 @@ Plugin { id=pcmanfm.desktop } Button { - id=menu://applications/Internet/mozilla-firefox.desktop + id=mozilla-firefox.desktop } Button { - id=menu://applications/Internet/mozilla-thunderbird.desktop + id=mozilla-thunderbird.desktop } Button { - id=menu://applications/System/lxterminal.desktop + id=lxterminal.desktop } } } Plugin { type=space Config { - Size=2 + Size=4 } } Plugin { @@ -79,7 +70,7 @@ Plugin { Plugin { type=space Config { - Size=2 + Size=4 } } Plugin { @@ -103,6 +94,7 @@ Plugin { ShowIconified=1 ShowMapped=1 ShowAllDesks=0 + ShowSquareBrackets=1 UseMouseWheel=1 UseUrgencyHint=1 FlatButton=0 @@ -111,25 +103,16 @@ Plugin { } } Plugin { - type=batt - Config { - } -} -Plugin { - type=space - Config { - Size=2 - } -} -Plugin { type=cpu Config { } } Plugin { - type=space + type=volume Config { - Size=2 + VolumeMuteKey=XF86AudioMute + VolumeDownKey=XF86AudioLowerVolume + VolumeUpKey=XF86AudioRaiseVolume } } Plugin { @@ -138,11 +121,6 @@ Plugin { } } Plugin { - type=volume - Config { - } -} -Plugin { type=dclock Config { ClockFmt=%R @@ -153,15 +131,12 @@ Plugin { } } Plugin { - type=space - Config { - Size=2 - } -} -Plugin { type=launchbar Config { Button { + id=lxde-screenlock.desktop + } + Button { id=lxde-logout.desktop } } diff --git a/desktop/lxpanel/lxpanel.SlackBuild b/desktop/lxpanel/lxpanel.SlackBuild index 2e16ffb833..4aab4bf458 100644 --- a/desktop/lxpanel/lxpanel.SlackBuild +++ b/desktop/lxpanel/lxpanel.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for lxpanel # (C) 2008 Michael Wagner <lapinours@web.de> -# Copyright 2011-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2011-2025 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lxpanel -VERSION=${VERSION:-20230918_633a2d4} +VERSION=${VERSION:-0.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,8 +83,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -for i in $CWD/patches/* ; do patch -p1 < $i ; done - ./autogen.sh || true CFLAGS="$SLKCFLAGS" \ diff --git a/desktop/lxpanel/lxpanel.info b/desktop/lxpanel/lxpanel.info index 5dc89ae13f..a68ca26f40 100644 --- a/desktop/lxpanel/lxpanel.info +++ b/desktop/lxpanel/lxpanel.info @@ -1,8 +1,8 @@ PRGNAM="lxpanel" -VERSION="20230918_633a2d4" +VERSION="0.11.1" HOMEPAGE="https://wiki.lxde.org/en/LXPanel" -DOWNLOAD="https://ponce.cc/slackware/sources/repo/lxde/lxpanel-20230918_633a2d4.tar.xz" -MD5SUM="e8b042e60c977c70eda52caf0f61b6b7" +DOWNLOAD="https://github.com/lxde/releases/raw/refs/heads/master/releases/lxpanel-0.11.1.tar.xz" +MD5SUM="16d5d64accc41c0901cb5f39fd67d3b2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libfm" diff --git a/desktop/lxpanel/patches/lxpanel-0.10.1-fix-pager-panel-width.patch b/desktop/lxpanel/patches/lxpanel-0.10.1-fix-pager-panel-width.patch deleted file mode 100644 index 4d53fc8f78..0000000000 --- a/desktop/lxpanel/patches/lxpanel-0.10.1-fix-pager-panel-width.patch +++ /dev/null @@ -1,37 +0,0 @@ -From b46e3a39786a5be04bf9cc3844dd184308cd7495 Mon Sep 17 00:00:00 2001 -From: Ben Walsh <b@wumpster.com> -Date: Sat, 6 Jun 2020 10:38:15 +0100 -Subject: [PATCH] Specify GTK_REQUEST_CONSTANT_SIZE. Fixes #773. - ---- - src/panel.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/src/panel.c b/src/panel.c -index da9e718b..b52fc796 100644 ---- a/src/panel.c -+++ b/src/panel.c -@@ -293,6 +293,12 @@ lxpanel_get_preferred_height (GtkWidget *widget, - if (natural_height) - *natural_height = requisition.height; - } -+ -+static GtkSizeRequestMode -+lxpanel_get_request_mode (GtkWidget *widget) -+{ -+ return GTK_SIZE_REQUEST_CONSTANT_SIZE; -+} - #endif - - static void lxpanel_size_allocate(GtkWidget *widget, GtkAllocation *a) -@@ -413,6 +419,7 @@ static void lxpanel_class_init(PanelToplevelClass *klass) - #if GTK_CHECK_VERSION(3, 0, 0) - widget_class->get_preferred_width = lxpanel_get_preferred_width; - widget_class->get_preferred_height = lxpanel_get_preferred_height; -+ widget_class->get_request_mode = lxpanel_get_request_mode; - #else - widget_class->size_request = lxpanel_size_request; - #endif --- -2.27.0 - |