[Xfce4-commits] <xfce4-genmon-plugin:master> Use gtk_label_set_text() instead of gtk_label_set_markup() if newVersion == 0. Fixes: #8316.

John Lindgren noreply at xfce.org
Thu Feb 16 15:36:01 CET 2012


Updating branch refs/heads/master
         to 14640c291ad12d4ae822cc24e98e0c2bc8ab48cd (commit)
       from 56e88eb3aa0924e70adcb52970f23c2518b0151d (commit)

commit 14640c291ad12d4ae822cc24e98e0c2bc8ab48cd
Author: John Lindgren <john.lindgren at aol.com>
Date:   Thu Feb 16 09:35:49 2012 -0500

    Use gtk_label_set_text() instead of gtk_label_set_markup() if newVersion == 0.  Fixes: #8316.

 panel-plugin/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/main.c b/panel-plugin/main.c
index 44413ba..4c64a13 100644
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -239,7 +239,7 @@ static int DisplayCmdOutput (struct genmon_t *p_poPlugin)
     if (newVersion == 0)
     {
         gtk_widget_show (poMonitor->wValue);
-        gtk_label_set_markup (GTK_LABEL (poMonitor->wValue),
+        gtk_label_set_text (GTK_LABEL (poMonitor->wValue),
             p_poPlugin->acValue);
     }
 


More information about the Xfce4-commits mailing list