[Xfce4-commits] <xfce4-sensors-plugin:master> apply path for bug 8745
Fabian
noreply at xfce.org
Sun May 13 16:40:02 CEST 2012
Updating branch refs/heads/master
to 2ef392d82773ffea2e0af167db08c6fe0c7f973c (commit)
from f278edb46cf4205bf7576d7066f47bea4917f91e (commit)
commit 2ef392d82773ffea2e0af167db08c6fe0c7f973c
Author: Fabian <timystery at arcor.de>
Date: Sun May 13 15:28:35 2012 +0200
apply path for bug 8745
panel-plugin/sensors-plugin.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c
index 92176df..59d4af5 100644
--- a/panel-plugin/sensors-plugin.c
+++ b/panel-plugin/sensors-plugin.c
@@ -1282,11 +1282,11 @@ font_size_change (GtkWidget *widget, t_sensors_dialog *sd)
g_free(sd->sensors->font_size);
switch ( gtk_combo_box_get_active(GTK_COMBO_BOX(widget)) ) {
- case 0: sd->sensors->font_size = "x-small"; break;
- case 1: sd->sensors->font_size = "small"; break;
- case 3: sd->sensors->font_size = "large"; break;
- case 4: sd->sensors->font_size = "x-large"; break;
- default: sd->sensors->font_size = "medium";
+ case 0: sd->sensors->font_size = g_strdup("x-small"); break;
+ case 1: sd->sensors->font_size = g_strdup("small"); break;
+ case 3: sd->sensors->font_size = g_strdup("large"); break;
+ case 4: sd->sensors->font_size = g_strdup("x-large"); break;
+ default: sd->sensors->font_size = g_strdup("medium");
}
sd->sensors->font_size_numerical =
More information about the Xfce4-commits
mailing list