[gnome-control-center] cc-window: Fix style of home button
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] cc-window: Fix style of home button
- Date: Mon, 18 Feb 2013 16:32:54 +0000 (UTC)
commit e160e43f2306b73437f2775223f5539502056c73
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Feb 18 11:31:01 2013 -0500
cc-window: Fix style of home button
shell/cc-window.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/shell/cc-window.c b/shell/cc-window.c
index 1080990..3820820 100644
--- a/shell/cc-window.c
+++ b/shell/cc-window.c
@@ -1388,7 +1388,7 @@ create_header (CcWindow *self)
gd_header_bar_pack_start (GD_HEADER_BAR (priv->header), button);
g_signal_connect (button, "clicked", G_CALLBACK (home_button_clicked_cb), self);
context = gtk_widget_get_style_context (priv->home_button);
- gtk_style_context_add_class (context, "raised");
+ gtk_style_context_add_class (context, "image-button");
priv->top_right_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gd_header_bar_pack_end (GD_HEADER_BAR (priv->header), priv->top_right_box);
@@ -1403,8 +1403,6 @@ create_header (CcWindow *self)
priv->lock_button = gtk_lock_button_new (NULL);
gtk_widget_set_no_show_all (button, TRUE);
gtk_container_add (GTK_CONTAINER (priv->top_right_box), priv->lock_button);
- context = gtk_widget_get_style_context (priv->lock_button);
- gtk_style_context_add_class (context, "raised");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]