[gnome-control-center] mouse: Fix the look of test button



commit 4678863a0fe6ff7d9a0a344b64333d6910737333
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Fri Jul 12 11:18:46 2013 +0300

    mouse: Fix the look of test button
    
    https://bugzilla.gnome.org/show_bug.cgi?id=703769

 panels/mouse/cc-mouse-panel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/mouse/cc-mouse-panel.c b/panels/mouse/cc-mouse-panel.c
index d42067a..e9b2351 100644
--- a/panels/mouse/cc-mouse-panel.c
+++ b/panels/mouse/cc-mouse-panel.c
@@ -98,6 +98,8 @@ cc_mouse_panel_constructed (GObject *object)
   box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);
 
   button = gtk_button_new_with_mnemonic (_("Test Your _Settings"));
+  gtk_style_context_add_class (gtk_widget_get_style_context (button),
+                               "text-button");
   gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE, 0);
   gtk_widget_set_visible (button, TRUE);
 


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