[gnome-bluetooth] settings: Cancel button shouldn't be red



commit 6176237e6472094a14a01655d1ba83c7cf5922f7
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Dec 11 17:49:30 2013 +0100

    settings: Cancel button shouldn't be red
    
    It's not a destructive action.

 lib/bluetooth-pairing-dialog.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/lib/bluetooth-pairing-dialog.c b/lib/bluetooth-pairing-dialog.c
index bb4f3eb..ee83019 100644
--- a/lib/bluetooth-pairing-dialog.c
+++ b/lib/bluetooth-pairing-dialog.c
@@ -267,8 +267,6 @@ bluetooth_pairing_dialog_init (BluetoothPairingDialog *self)
        gtk_widget_hide (buttonbox);
        gtk_widget_set_no_show_all (buttonbox, FALSE);
 
-       context = gtk_widget_get_style_context (priv->cancel);
-       gtk_style_context_add_class (context, "destructive-action");
        context = gtk_widget_get_style_context (priv->done);
        gtk_style_context_add_class (context, "suggested-action");
        context = gtk_widget_get_style_context (priv->entry_pin);


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