[gnome-boxes] remote-machine: Update property on name change
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] remote-machine: Update property on name change
- Date: Sat, 16 Aug 2014 16:28:20 +0000 (UTC)
commit 7deb612d8382a99af67aee3743f4d2313df32dfa
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Aug 15 17:09:53 2014 +0200
remote-machine: Update property on name change
This is necessary to keep the properties page's name entry and the
title's name entry consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=692383
src/remote-machine.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/remote-machine.vala b/src/remote-machine.vala
index b8d3afb..a395451 100644
--- a/src/remote-machine.vala
+++ b/src/remote-machine.vala
@@ -59,6 +59,11 @@ private class Boxes.RemoteMachine: Boxes.Machine, Boxes.IPropertiesProvider {
return true;
});
+ var name_property = property;
+ notify["name"].connect (() => {
+ name_property.text = name;
+ });
+
property = add_string_property (ref list, _("URI"), source.uri);
if (!is_connected ())
property.editable = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]