Updating branch refs/heads/master
         to 46a994ea1889b20569363dc2b98858730ebf018f (commit)
       from 5a368b17540939dc556c9c2f00ab4d2ee5db9344 (commit)

commit 46a994ea1889b20569363dc2b98858730ebf018f
Author: Nick Schermer <n...@xfce.org>
Date:   Fri Apr 20 13:51:47 2012 +0200

    Fix incorrect dialog message and error.

 src/xfpm-power.c |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/src/xfpm-power.c b/src/xfpm-power.c
index 2a67191..644b6e5 100644
--- a/src/xfpm-power.c
+++ b/src/xfpm-power.c
@@ -323,15 +323,13 @@ xfpm_power_sleep (XfpmPower *power, const gchar 
*sleep_time, gboolean force)
     if ( power->priv->inhibited && force == FALSE)
     {
        gboolean ret;
-       
+
        ret = xfce_dialog_confirm (NULL,
-                                  GTK_STOCK_YES,
-                                  "Yes",
-                                  _("An application is currently disabling the 
automatic sleep,"
-                                  " doing this action now may damage the 
working state of this application,"
-                                  " are you sure you want to hibernate the 
system?"),
-                                  "");
-                                  
+                                  GTK_STOCK_OK, _("_Hibernate"),
+                                  _("An application is currently disabling the 
automatic sleep."
+                                    "Doing this action now may damage the 
working state of this application?"),
+                                  _("Are you sure you want to hibernate the 
system."));
+
        if ( !ret )
            return;
     }
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to