Updating branch refs/heads/master to c1918ac3e7de44554fffccaa0e01be9a8bc541db (commit) from cdaaa14f91bd4822f52d2025162ad87389d186eb (commit)
commit c1918ac3e7de44554fffccaa0e01be9a8bc541db Author: Mike Massonnet <mmasson...@xfce.org> Date: Sun Jan 8 15:40:49 2012 +0100 Adapt width chars to new length of string in panel panel-plugin/netload.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c index d361d1a..ce8a9c9 100644 --- a/panel-plugin/netload.c +++ b/panel-plugin/netload.c @@ -313,7 +313,7 @@ static void monitor_set_orientation (XfcePanelPlugin *plugin, GtkOrientation ori gtk_widget_show(global->monitor->label); global->monitor->rcv_label = gtk_label_new(""); - gtk_label_set_width_chars(GTK_LABEL(global->monitor->rcv_label), 10); + gtk_label_set_width_chars(GTK_LABEL(global->monitor->rcv_label), 7); gtk_misc_set_alignment(GTK_MISC(global->monitor->rcv_label), 1.0f, 0.5f); gtk_widget_show(global->monitor->rcv_label); @@ -323,7 +323,7 @@ static void monitor_set_orientation (XfcePanelPlugin *plugin, GtkOrientation ori } global->monitor->sent_label = gtk_label_new(""); - gtk_label_set_width_chars(GTK_LABEL(global->monitor->sent_label), 10); + gtk_label_set_width_chars(GTK_LABEL(global->monitor->sent_label), 7); gtk_widget_show(global->monitor->sent_label); if (orientation == GTK_ORIENTATION_HORIZONTAL) _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits