summaryrefslogtreecommitdiff
path: root/archiver
diff options
context:
space:
mode:
authorBradford Hovinen <hovinen@ximian.com>2001-07-30 14:12:03 +0000
committerBradford Hovinen (Gdict maintainer) <hovinen@src.gnome.org>2001-07-30 14:12:03 +0000
commitbd3a67e6b680a9535c13bfb511b1fe221a77263b (patch)
treec8b64c674f6685713c15524f5ea1149136962895 /archiver
parenteb938c27259b8cfda066afee4ebfc32a8ea0a040 (diff)
downloadgnome-control-center-bd3a67e6b680a9535c13bfb511b1fe221a77263b.tar.gz
Use capplet-archive/config/current/location for current location to avoid
2001-07-30 Bradford Hovinen <hovinen@ximian.com> * archive.c (archive_set_current_location_id): Use capplet-archive/config/current/location for current location to avoid conflicting with control-center
Diffstat (limited to 'archiver')
-rw-r--r--archiver/ChangeLog4
-rw-r--r--archiver/archive.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/archiver/ChangeLog b/archiver/ChangeLog
index f6d27194f..8ac48e791 100644
--- a/archiver/ChangeLog
+++ b/archiver/ChangeLog
@@ -1,5 +1,9 @@
2001-07-30 Bradford Hovinen <hovinen@ximian.com>
+ * archive.c (archive_set_current_location_id): Use
+ capplet-archive/config/current/location for current location to
+ avoid conflicting with control-center
+
* config-log.c (socket_data_cb): Close the socket if we couldn't
load the log entry
(config_log_destroy):
diff --git a/archiver/archive.c b/archiver/archive.c
index 3a936d750..f1e68edb3 100644
--- a/archiver/archive.c
+++ b/archiver/archive.c
@@ -489,7 +489,7 @@ archive_set_current_location_id (Archive *archive, const gchar *locid)
archive->current_location_id);
else
gnome_config_set_string
- ("/control-center/config/current/location",
+ ("/capplet-archive/config/current/location",
archive->current_location_id);
gnome_config_sync ();
@@ -523,7 +523,7 @@ archive_get_current_location_id (Archive *archive)
else
archive->current_location_id =
gnome_config_get_string_with_default
- ("/control-center/config/current/location=default", &def);
+ ("/capplet-archive/config/current/location=default", &def);
/* Create default location if it does not exist */
if (def && archive_get_location