network-manager-applet r660 - in trunk: . src/connection-editor
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: network-manager-applet r660 - in trunk: . src/connection-editor
- Date: Wed, 9 Apr 2008 20:51:53 +0100 (BST)
Author: dcbw
Date: Wed Apr 9 20:51:53 2008
New Revision: 660
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=660&view=rev
Log:
2008-04-09 Dan Williams <dcbw redhat com>
* src/connection-editor/page-wireless.c
- (populate_ui): don't puke on blank SSID, like when adding a new
connection
Modified:
trunk/ChangeLog
trunk/src/connection-editor/page-wireless.c
Modified: trunk/src/connection-editor/page-wireless.c
==============================================================================
--- trunk/src/connection-editor/page-wireless.c (original)
+++ trunk/src/connection-editor/page-wireless.c Wed Apr 9 20:51:53 2008
@@ -214,7 +214,10 @@
G_CALLBACK (ce_spin_output_with_default),
GINT_TO_POINTER (mtu_def));
- utf8_ssid = nm_utils_ssid_to_utf8 ((const char *) setting->ssid->data, setting->ssid->len);
+ if (setting->ssid)
+ utf8_ssid = nm_utils_ssid_to_utf8 ((const char *) setting->ssid->data, setting->ssid->len);
+ else
+ utf8_ssid = g_strdup ("");
gtk_entry_set_text (priv->ssid, utf8_ssid);
g_signal_connect (priv->ssid, "changed", G_CALLBACK (entry_changed), self);
g_free (utf8_ssid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]