Commit 0c195caa authored by German Poo-Caaman~o's avatar German Poo-Caaman~o Committed by Germán Poó Caamaño

Fixed #333540 (an unitialized variable was used, showing a weird text)

2006-04-03  German Poo-Caaman~o  <gpoo@ubiobio.cl>

	* src/info.c (info_get_nic_information): Fixed #333540
	  (an unitialized variable was used, showing a weird text)
parent 8a66c429
2006-04-03 German Poo-Caaman~o <gpoo@ubiobio.cl>
* src/info.c (info_get_nic_information): Fixed #333540
(an unitialized variable was used, showing a weird text)
2006-04-02 German Poo-Caaman~o <gpoo@ubiobio.cl>
* src/main.c (load_finger_widgets_from_xml): Changed example string
......
......@@ -588,12 +588,7 @@ info_get_nic_information (const gchar *nic, Netinfo *info)
gtk_label_set_text (GTK_LABEL (info->mtu), NOT_AVAILABLE);
gtk_label_set_text (GTK_LABEL (info->state), NOT_AVAILABLE);
gtk_label_set_text (GTK_LABEL (info->multicast), NOT_AVAILABLE);
if (data.has_data) {
gtk_label_set_text (GTK_LABEL (info->link_speed), data.media);
} else {
gtk_label_set_text (GTK_LABEL (info->link_speed), NOT_AVAILABLE);
}
gtk_label_set_text (GTK_LABEL (info->link_speed), NOT_AVAILABLE);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment