[gnome-control-center] shell: Fix the look of lock button



commit 79d2fc73a3e0b600d8585b7a8d04e86d5db5f95c
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Fri Jul 12 11:17:55 2013 +0300

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

 shell/cc-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index d035d3b..0355eb9 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -1441,6 +1441,8 @@ create_header (CcWindow *self)
   g_signal_connect (priv->search_entry, "key-press-event", G_CALLBACK (search_entry_key_press_event_cb), 
self);
 
   priv->lock_button = gtk_lock_button_new (NULL);
+  gtk_style_context_add_class (gtk_widget_get_style_context (priv->lock_button),
+                               "text-button");
   gtk_widget_set_no_show_all (button, TRUE);
   gtk_container_add (GTK_CONTAINER (priv->top_right_box), priv->lock_button);
 }


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