mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
toolbar: Add style "titlebutton" for the close button
This commit is contained in:
parent
3eca97997c
commit
40490b472a
1 changed files with 2 additions and 0 deletions
|
@ -525,6 +525,8 @@ nautilus_toolbar_constructed (GObject *obj)
|
|||
button = gtk_button_new_from_icon_name ("window-close-symbolic",
|
||||
GTK_ICON_SIZE_MENU);
|
||||
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (button),
|
||||
"titlebutton");
|
||||
g_signal_connect (button, "clicked",
|
||||
G_CALLBACK (close_button_clicked), self);
|
||||
gtk_container_add (GTK_CONTAINER (toolbar), button);
|
||||
|
|
Loading…
Reference in a new issue