[gnome-boxes] libvirt-machine-props: Change placement of troubleshoot log
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] libvirt-machine-props: Change placement of troubleshoot log
- Date: Tue, 25 Nov 2014 15:06:50 +0000 (UTC)
commit 306827f97044a0cd12ff844de661fa45227162b8
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]