network-manager-applet r913 - in trunk: . src/connection-editor
- From: dcbw svn gnome org
- To: svn-commits-list gnome org
- Subject: network-manager-applet r913 - in trunk: . src/connection-editor
- Date: Mon, 29 Sep 2008 21:38:04 +0000 (UTC)
Author: dcbw
Date: Mon Sep 29 21:38:04 2008
New Revision: 913
URL: http://svn.gnome.org/viewvc/network-manager-applet?rev=913&view=rev
Log:
2008-09-29 Dan Williams <dcbw redhat com>
* src/connection-editor/page-ip4.c
- (ui_to_setting): accept ', ;:' as delimiters for DNS servers and
searches
Modified:
trunk/ChangeLog
trunk/src/connection-editor/page-ip4.c
Modified: trunk/src/connection-editor/page-ip4.c
==============================================================================
--- trunk/src/connection-editor/page-ip4.c (original)
+++ trunk/src/connection-editor/page-ip4.c Mon Sep 29 21:38:04 2008
@@ -812,7 +812,7 @@
text = gtk_entry_get_text (GTK_ENTRY (priv->dns_servers));
if (text && strlen (text)) {
- items = g_strsplit (text, ",", 0);
+ items = g_strsplit_set (text, ", ;:", 0);
for (iter = items; *iter; iter++) {
struct in_addr tmp_addr;
@@ -829,7 +829,7 @@
/* Search domains */
text = gtk_entry_get_text (GTK_ENTRY (priv->dns_searches));
if (text && strlen (text)) {
- items = g_strsplit (text, ",", 0);
+ items = g_strsplit_set (text, ", ;:", 0);
for (iter = items; *iter; iter++)
search_domains = g_slist_prepend (search_domains, g_strdup (g_strstrip (*iter)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]