[gnome-boxes] libvirt-machine-props,ovirt-machine: Show broker name
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] libvirt-machine-props,ovirt-machine: Show broker name
- Date: Mon, 10 Nov 2014 15:04:26 +0000 (UTC)
commit 92c54f2208f68b9ae9b540b18e9f5fd403b3af59
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Nov 10 13:42:57 2014 +0000
libvirt-machine-props,ovirt-machine: Show broker name
Instead of showing broker's URL (that won't mean much to user), show the
name of the broker.
https://bugzilla.gnome.org/show_bug.cgi?id=710294
src/libvirt-machine-properties.vala | 2 +-
src/ovirt-machine.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 22f3d9a..37513a2 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -130,7 +130,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
name_property.text = machine.name;
});
- add_string_property (ref list, _("Broker"), machine.source.uri);
+ add_string_property (ref list, _("Broker"), machine.source.name);
if (machine.display != null) {
add_string_property (ref list, _("Protocol"), machine.display.protocol);
property = add_string_property (ref list, _("URI"), machine.display.uri);
diff --git a/src/ovirt-machine.vala b/src/ovirt-machine.vala
index 9f06400..029c1c1 100644
--- a/src/ovirt-machine.vala
+++ b/src/ovirt-machine.vala
@@ -61,7 +61,7 @@ private class Boxes.OvirtMachine: Boxes.Machine {
switch (page) {
case PropertiesPage.GENERAL:
- add_string_property (ref list, _("Broker"), source.uri);
+ add_string_property (ref list, _("Broker"), source.name);
add_string_property (ref list, _("Protocol"), display.protocol);
add_string_property (ref list, _("URI"), display.uri);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]