[Xfce4-commits] <xfce4-radio-plugin:master> Make sure that the signal quality is shown graphically from the very beginning (if enabled)
Stefan Ott
noreply at xfce.org
Fri May 20 05:46:02 CEST 2011
Updating branch refs/heads/master
to 04c10d1e10f7a43f8a7eeed97b7887e43643ce12 (commit)
from 531939c1dc871dcd878045c62dca9a7e02ff2e2e (commit)
commit 04c10d1e10f7a43f8a7eeed97b7887e43643ce12
Author: Stefan Ott <stefan at ott.net>
Date: Thu May 19 23:24:49 2011 +0200
Make sure that the signal quality is shown graphically from the very beginning (if enabled)
panel-plugin/xfce4-radio.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/xfce4-radio.c b/panel-plugin/xfce4-radio.c
index 91059b0..bc3b580 100644
--- a/panel-plugin/xfce4-radio.c
+++ b/panel-plugin/xfce4-radio.c
@@ -639,8 +639,6 @@ static void
add_label(radio_gui *gui)
{
gui->label = gtk_label_new("");
- gtk_widget_show(gui->label);
-
gtk_box_pack_start(GTK_BOX(gui->box), gui->label, FALSE, FALSE, 1);
}
@@ -1674,6 +1672,8 @@ read_config(XfcePanelPlugin *plugin, radio_gui *data)
g_strfreev(names);
g_strfreev(freqs);
xfce_rc_close(rc);
+
+ update_label(data);
}
static void
More information about the Xfce4-commits
mailing list