shell: Fix the look of lock button
https://bugzilla.gnome.org/show_bug.cgi?id=703769
This commit is contained in:
parent
ab650efdd7
commit
79d2fc73a3
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue