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>
This commit is contained in:
Robby Workman 2011-11-06 22:03:22 -06:00
parent a128de4955
commit 9e3d4761a1
2 changed files with 26 additions and 1 deletions

View file

@ -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),

View file

@ -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 \