[gnome-boxes] properties: Improved 'reboot required' message



commit b4f3bb8c4af5f882103a0af3900c85c8992c2928
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Feb 11 13:39:08 2014 +0000

    properties: Improved 'reboot required' message
    
    Don't present 'Yes' and 'No' buttons as per HIG.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710300

 src/properties.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/properties.vala b/src/properties.vala
index e2f9100..639eec8 100644
--- a/src/properties.vala
+++ b/src/properties.vala
@@ -203,8 +203,8 @@ private class Boxes.Properties: Gtk.Notebook, Boxes.UI {
 
             var machine = App.app.current_item as Machine;
             if (reboot_required && (machine.is_on () || machine.state == Machine.MachineState.SAVED)) {
-                var message = _("Changes require restart of '%s'. Attempt restart?").printf (machine.name);
-                App.app.notificationbar.display_for_action (message, _("_Yes"), () => {
+                var message = _("Changes require restart of '%s'.").printf (machine.name);
+                App.app.notificationbar.display_for_action (message, _("_Restart"), () => {
                     machine.restart ();
                 });
             }


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