summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendnetwork.c
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 /daemon/gvfsbackendnetwork.c
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
Diffstat (limited to 'daemon/gvfsbackendnetwork.c')
-rw-r--r--daemon/gvfsbackendnetwork.c4
1 files changed, 2 insertions, 2 deletions
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;