Commit e160e43f authored by Cosimo Cecchi's avatar Cosimo Cecchi
Browse files

cc-window: Fix style of home button

parent d9e10339
...@@ -1388,7 +1388,7 @@ create_header (CcWindow *self) ...@@ -1388,7 +1388,7 @@ create_header (CcWindow *self)
gd_header_bar_pack_start (GD_HEADER_BAR (priv->header), button); gd_header_bar_pack_start (GD_HEADER_BAR (priv->header), button);
g_signal_connect (button, "clicked", G_CALLBACK (home_button_clicked_cb), self); g_signal_connect (button, "clicked", G_CALLBACK (home_button_clicked_cb), self);
context = gtk_widget_get_style_context (priv->home_button); 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); 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); gd_header_bar_pack_end (GD_HEADER_BAR (priv->header), priv->top_right_box);
...@@ -1403,8 +1403,6 @@ create_header (CcWindow *self) ...@@ -1403,8 +1403,6 @@ create_header (CcWindow *self)
priv->lock_button = gtk_lock_button_new (NULL); priv->lock_button = gtk_lock_button_new (NULL);
gtk_widget_set_no_show_all (button, TRUE); gtk_widget_set_no_show_all (button, TRUE);
gtk_container_add (GTK_CONTAINER (priv->top_right_box), priv->lock_button); 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 static void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment