summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Walton <awalton@svn.gnome.org>2008-02-23 04:06:48 +0000
committerAndrew Walton <awalton@src.gnome.org>2008-02-23 04:06:48 +0000
commit89ebbaf6717b66209e834989586c7e0ca50ab9f9 (patch)
tree30e30c1db4638b118ea478904629defced60d49e
parent81d2766f24ded42fc27bef1e09a05f78e4dc9cc7 (diff)
downloadgvfs-89ebbaf6717b66209e834989586c7e0ca50ab9f9.tar.gz
Make network:// really add extra domain links.
2008-02-22 A. Walton <awalton@svn.gnome.org> * daemon/gvfsbackendnetwork.c: (recompute_files): Make network:// really add extra domain links. svn path=/trunk/; revision=1347
-rw-r--r--ChangeLog5
-rw-r--r--daemon/gvfsbackendnetwork.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c67bf9c..ced5fc4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2008-02-22 A. Walton <awalton@svn.gnome.org>
* daemon/gvfsbackendnetwork.c: (recompute_files):
+ Make network:// really add extra domain links.
+
+2008-02-22 A. Walton <awalton@svn.gnome.org>
+
+ * daemon/gvfsbackendnetwork.c: (recompute_files):
Fix typo so we generate correct dns-sd links.
2008-02-22 Alexander Larsson <alexl@redhat.com>
diff --git a/daemon/gvfsbackendnetwork.c b/daemon/gvfsbackendnetwork.c
index 1d79aba7..bd0a8c8e 100644
--- a/daemon/gvfsbackendnetwork.c
+++ b/daemon/gvfsbackendnetwork.c
@@ -343,8 +343,8 @@ recompute_files (GVfsBackendNetwork *backend)
/* If gconf setting "/system/dns_sd/extra_domains" is set to a list of domains:
* links to dns-sd://$domain/ */
- if (backend->current_workgroup == NULL ||
- backend->current_workgroup[0] == 0)
+ if (backend->extra_domains != NULL &&
+ backend->extra_domains[0] != 0)
{
char **domains;
int i;