mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-27 09:58:14 +01:00
mate-panel: Rebuilt to enable adding apps to panel.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
c61b2340cb
commit
981b597702
2 changed files with 33 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
PRGNAM=mate-panel
|
||||
VERSION=${VERSION:-1.24.0}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_msb}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -78,6 +78,8 @@ 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 {} \;
|
||||
|
||||
patch -p1 < $CWD/panel.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -90,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--disable-static \
|
||||
--libexecdir=/usr/lib${LIBDIRSUFFIX}/mate-panel \
|
||||
--enable-introspection=yes \
|
||||
--enable-x \
|
||||
--enable-x11 \
|
||||
--enable-wayland \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
|
|
29
base/mate-panel/panel.patch
Normal file
29
base/mate-panel/panel.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
From ebdd87a7224cd1d9a36ab8a7c6b7bd53ed582415 Mon Sep 17 00:00:00 2001
|
||||
From: William Wold <wm@wmww.sh>
|
||||
Date: Wed, 19 Feb 2020 14:10:57 -0500
|
||||
Subject: [PATCH] Enable applications in addto menu (fixes 1055)
|
||||
|
||||
---
|
||||
mate-panel/panel-addto.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/mate-panel/panel-addto.c b/mate-panel/panel-addto.c
|
||||
index fbf5c52fa..cfc9c715c 100644
|
||||
--- a/mate-panel/panel-addto.c
|
||||
+++ b/mate-panel/panel-addto.c
|
||||
@@ -564,6 +564,7 @@ panel_addto_prepend_directory (GSList **parent_list,
|
||||
data->item_info.icon = gicon ? g_icon_to_string(gicon) : g_strdup(PANEL_ICON_UNKNOWN);
|
||||
data->item_info.menu_filename = g_strdup (filename);
|
||||
data->item_info.menu_path = matemenu_tree_directory_make_path (directory, NULL);
|
||||
+ data->item_info.enabled = TRUE;
|
||||
data->item_info.static_data = FALSE;
|
||||
|
||||
/* We should set the iid here to something and do
|
||||
@@ -598,6 +599,7 @@ panel_addto_prepend_entry (GSList **parent_list,
|
||||
data->item_info.description = g_strdup (g_app_info_get_description(G_APP_INFO(ginfo)));
|
||||
data->item_info.icon = gicon ? g_icon_to_string(gicon) : g_strdup(PANEL_ICON_UNKNOWN);
|
||||
data->item_info.launcher_path = g_strdup (matemenu_tree_entry_get_desktop_file_path (entry));
|
||||
+ data->item_info.enabled = TRUE;
|
||||
data->item_info.static_data = FALSE;
|
||||
|
||||
*parent_list = g_slist_prepend (*parent_list, data);
|
Loading…
Reference in a new issue