[gnome-boxes] libvirt-machine-properties: Theme 'Force shutdown'



commit d44e720f2189674269a33ca3035a42559ad343de
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Nov 27 13:15:24 2014 +0000

    libvirt-machine-properties: Theme 'Force shutdown'
    
    Apply appropriate theme to 'Force shutdown' button.

 src/libvirt-machine-properties.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libvirt-machine-properties.vala b/src/libvirt-machine-properties.vala
index 0c18d7a..357a9f0 100644
--- a/src/libvirt-machine-properties.vala
+++ b/src/libvirt-machine-properties.vala
@@ -488,6 +488,7 @@ private class Boxes.LibvirtMachineProperties: GLib.Object, Boxes.IPropertiesProv
         });
 
         button = new Gtk.Button.with_label (_("Force Shutdown"));
+        button.get_style_context ().add_class (Gtk.STYLE_CLASS_DESTRUCTIVE_ACTION);
         button.clicked.connect (() => {
             machine.force_shutdown ();
         });


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