aboutsummaryrefslogtreecommitdiff
path: root/desktop/xfce4-genmon-plugin
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-11-06 22:03:22 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-11-06 22:03:22 -0600
commit9e3d4761a1a3b7fafb705b519cdd90fc7e45ade1 (patch)
treef6f6518f564fed83ff89f0213439a6f338ab8073 /desktop/xfce4-genmon-plugin
parenta128de4955d4fb158533080885ead81d3130f6ae (diff)
desktop/xfce4-genmon-plugin: Included patch from xfce bz #7449
Thanks to Erik Hanson for pointing out the bug report and patch. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-genmon-plugin')
-rw-r--r--desktop/xfce4-genmon-plugin/fix_noshow_on_panel_restart_bug.diff22
-rw-r--r--desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild5
2 files changed, 26 insertions, 1 deletions
diff --git a/desktop/xfce4-genmon-plugin/fix_noshow_on_panel_restart_bug.diff b/desktop/xfce4-genmon-plugin/fix_noshow_on_panel_restart_bug.diff
new file mode 100644
index 000000000000..a2d79aa619fa
--- /dev/null
+++ b/desktop/xfce4-genmon-plugin/fix_noshow_on_panel_restart_bug.diff
@@ -0,0 +1,22 @@
+From 60be4725ec2ee8a9557a02f7eb7b6aa748961f48 Mon Sep 17 00:00:00 2001
+From: Contarino Rosario <contarino.rosario@gmail.com>
+Date: Thu, 28 Apr 2011 23:59:06 +0200
+Subject: [PATCH] panel-plugin/main.c: Fix start bug
+
+---
+ panel-plugin/main.c | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/panel-plugin/main.c b/panel-plugin/main.c
+index f59886e..8d51ae6 100644
+--- a/panel-plugin/main.c
++++ b/panel-plugin/main.c
+@@ -836,6 +836,8 @@ static void genmon_construct (XfcePanelPlugin *plugin)
+
+ SetMonitorFont (genmon);
+
++ SetTimer (genmon);
++
+ g_signal_connect (plugin, "free-data", G_CALLBACK (genmon_free), genmon);
+
+ g_signal_connect (plugin, "save", G_CALLBACK (genmon_write_config),
diff --git a/desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild b/desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild
index 035121ddb364..6734367ec3e3 100644
--- a/desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild
+++ b/desktop/xfce4-genmon-plugin/xfce4-genmon-plugin.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=xfce4-genmon-plugin
VERSION=3.3.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -72,6 +72,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix https://bugzilla.xfce.org/show_bug.cgi?id=7449
+patch -p1 < $CWD/fix_noshow_on_panel_restart_bug.diff
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \