[Xfce4-commits] <xfce4-session:master> Use GTK_STOCK_OK fro "Proceed" when confirming session cache cleaning.

Jérôme Guelfucci noreply at xfce.org
Tue Apr 5 07:48:02 CEST 2011


Updating branch refs/heads/master
         to 93d9eeb32a85ccdf492d4de7fbb798c2bc1165d1 (commit)
       from a72907b0d2ad473042e029e91637ddffca2ff78a (commit)

commit 93d9eeb32a85ccdf492d4de7fbb798c2bc1165d1
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Tue Apr 5 07:31:13 2011 +0200

    Use GTK_STOCK_OK fro "Proceed" when confirming session cache cleaning.
    
    GTK_STOCK_CANCEL and GTK_STOCK_DELETE are often big red buttons and look
    very similar which makes the dialog look a bit weird.

 settings/session-editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/settings/session-editor.c b/settings/session-editor.c
index 6ce3749..1a26688 100644
--- a/settings/session-editor.c
+++ b/settings/session-editor.c
@@ -170,7 +170,7 @@ session_editor_clear_sessions(GtkWidget *btn,
                            _("Are you sure you want to empty the session cache?"),
                            _("The saved states of your applications will not be restored during your next login."),
                            GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
-                           XFCE_BUTTON_TYPE_MIXED, GTK_STOCK_DELETE, _("_Proceed"), GTK_RESPONSE_ACCEPT,
+                           XFCE_BUTTON_TYPE_MIXED, GTK_STOCK_OK, _("_Proceed"), GTK_RESPONSE_ACCEPT,
                            NULL) == GTK_RESPONSE_ACCEPT)
     {
         const gchar *item_name;



More information about the Xfce4-commits mailing list