[gnome-boxes/wip/wizard-n-props-in-win: 15/19] libvirt-machine-props: Change placement of troubleshoot log



commit cd6f2e1360d375f02394c6c5a4ea289a09551813
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun Nov 23 15:23:42 2014 +0000

    libvirt-machine-props: Change placement of troubleshoot log
    
    Put the troubleshoot log button between resource stats and resource
    controls, as per new UI mockups.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733367

 src/libvirt-machine-properties.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 353d83b..d6d896e 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -141,11 +141,12 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
         case PropertiesPage.SYSTEM:
             add_resource_usage_graphs (ref list);
 
+            add_troubleshoot_log_button (ref list);
+
             var ram_property = add_ram_property (ref list);
             var storage_property = add_storage_property (ref list);
             mark_recommended_resources.begin (ram_property, storage_property);
 
-            add_troubleshoot_log_button (ref list);
             break;
 
         case PropertiesPage.DEVICES:
@@ -421,6 +422,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
     private void add_troubleshoot_log_button (ref List<Boxes.Property> list) {
         var button = new Gtk.Button.with_label (_("Troubleshooting log"));
         button.halign = Gtk.Align.START;
+        button.margin_top = 5;
         add_property (ref list, null, button);
         button.clicked.connect (() => {
             var log = collect_logs ();


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