[gnome-boxes/wip/props-ui-files: 96/96] tmp



commit 57cf9c84b501ba5b33868d0019c1fe2c643d5349
Author: Zeeshan Ali <zeenix gmail com>
Date:   Sat Nov 26 17:04:39 2016 +0100

    tmp

 src/libvirt-machine-properties.vala |    1 +
 src/properties-page-widget.vala     |    4 ++++
 src/properties.vala                 |    1 +
 3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 199e5da..30a5aa2 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -372,6 +372,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
 
         widget.add_property (null, grid);
         SourceFunc change_func = () => {
+            print ("%s trouble\n", machine.name);
             machine.disconnect (state_notify_id);
 
             return false;
diff --git a/src/properties-page-widget.vala b/src/properties-page-widget.vala
index a0ee738..0869f6c 100644
--- a/src/properties-page-widget.vala
+++ b/src/properties-page-widget.vala
@@ -68,6 +68,10 @@ private class Boxes.PropertiesPageWidget: Gtk.Box {
         show_all ();
     }
 
+    ~PropertiesPageWidget () {
+        print ("destroyed: %s\n", name);
+    }
+
     public bool flush_changes () {
         var reboot_required = this.reboot_required;
 
diff --git a/src/properties.vala b/src/properties.vala
index edfe5e8..5db78d2 100644
--- a/src/properties.vala
+++ b/src/properties.vala
@@ -43,6 +43,7 @@ private class Boxes.Properties: Gtk.Notebook, Boxes.UI {
 
             ulong props_refresh_id = 0;
             props_refresh_id = page.refresh_properties.connect (() => {
+                print ("refreshing properties\n");
                 page.disconnect (props_refresh_id);
                 var current_page = this.page;
                 this.populate.begin ((object, result) => {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]