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 0000000000..a2d79aa619 --- /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 +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 035121ddb3..6734367ec3 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 \