[virt-tools-list] [virt-manager PATCH] Add conversion file to migrate GConf values to GSettings
Guido Günther
agx at sigxcpu.org
Sun Sep 28 11:36:28 UTC 2014
This makes sure we don't lose already configured connections.
Reference: http://bugs.debian.org/740047
---
data/org.virt-manager.virt-manager.convert | 27 +++++++++++++++++++++++++++
setup.py | 2 ++
2 files changed, 29 insertions(+)
create mode 100644 data/org.virt-manager.virt-manager.convert
diff --git a/data/org.virt-manager.virt-manager.convert b/data/org.virt-manager.virt-manager.convert
new file mode 100644
index 0000000..e1b2c2e
--- /dev/null
+++ b/data/org.virt-manager.virt-manager.convert
@@ -0,0 +1,27 @@
+[org.virt-manager.virt-manager]
+system-tray = /apps/virt-manager/system-tray
+
+[org.virt-manager.virt-manager.connections]
+autostart = /apps/virt-manager/connections/autostart
+uris = /apps/virt-manager/connections/uris
+
+[org.virt-manager.virt-manager.details]
+show-toolbar = /apps/virt-manager/details/show-toolbar
+
+[org.virt-manager.virt-manager.paths]
+image-default = /apps/virt-manager/paths/default-image-path
+media-default = /apps/virt-manager/paths/default-media-path
+
+[org.virt-manager.virt-manager.stats]
+enable-net-poll = /apps/virt-manager/stats/enable-net-poll
+enable-disk-poll = /apps/virt-manager/stats/enable-disk-poll
+enable-memory-poll = /apps/virt-manager/stats/enable-mem-poll
+enable-cpu-poll = /apps/virt-manager/stats/enable-cpu-poll
+
+[org.virt-manager.virt-manager.vmlist-fields]
+cpu-usage = /apps/virt-manager/vmlist-fields/cpu_usage
+disk-usage = /apps/virt-manager/vmlist-fields/disk_usage
+host-cpu-usage = /apps/virt-manager/vmlist-fields/host_cpu_usage
+memory-usage = /apps/virt-manager/vmlist-fields/memory_usage
+network-traffic = /apps/virt-manager/vmlist-fields/network_traffic
+
diff --git a/setup.py b/setup.py
index 028ef37..2ae9184 100755
--- a/setup.py
+++ b/setup.py
@@ -603,6 +603,8 @@ setup(
]),
("share/glib-2.0/schemas",
["data/org.virt-manager.virt-manager.gschema.xml"]),
+ ("share/GConf/gsettings",
+ ["data/org.virt-manager.virt-manager.convert"]),
("share/virt-manager/ui", glob.glob("ui/*.ui")),
("share/man/man1", [
--
2.1.0
More information about the virt-tools-list
mailing list