summaryrefslogtreecommitdiffstats
path: root/src/service-discovery-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/service-discovery-config.in')
-rwxr-xr-xsrc/service-discovery-config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service-discovery-config.in b/src/service-discovery-config.in
index 12588fd..b0aa57f 100755
--- a/src/service-discovery-config.in
+++ b/src/service-discovery-config.in
@@ -121,6 +121,7 @@ class Config_window(SimpleGladeApp):
old_service_type = model.get_value(iter, column)
old_service_enabled= model.get_value(iter, COLUMN_ENABLED)
self.gc_client.unset("%s/%s" % (gc_services, old_service_type))
+ self.gc_client.suggest_sync()
model.set(iter, column, service_type)
self.gc_client.set_bool("%s/%s" % (gc_services, service_type), old_service_enabled)
@@ -142,6 +143,7 @@ class Config_window(SimpleGladeApp):
path = model.get_path(iter)[0]
service_type = model.get_value(iter,COLUMN_SERVICE)
self.gc_client.unset("%s/%s" % (gc_services, service_type))
+ self.gc_client.suggest_sync()
model.remove(iter)
#FIXME remove entry from gconf