mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-02 14:03:39 +00:00
places-sidebar: use the widget type directly instead of defining a class
This commit is contained in:
parent
5df1702084
commit
6c9cfec6cc
|
@ -4,10 +4,6 @@
|
|||
-NautilusIconContainer-light-info-rgba: shade (@selected_fg_color, 0.6);
|
||||
}
|
||||
|
||||
GtkTreeView.NautilusSidebar {
|
||||
background-color: #f6f6f4;
|
||||
}
|
||||
|
||||
#statusbar-no-border {
|
||||
-GtkStatusbar-shadow-type: none;
|
||||
}
|
||||
|
@ -37,6 +33,10 @@ NautilusFloatingBar > GtkBox > .button {
|
|||
border-style: none;
|
||||
}
|
||||
|
||||
NautilusPlacesSidebar {
|
||||
background-color: shade (@theme_base_color, 0.95);
|
||||
}
|
||||
|
||||
/* Toolbars */
|
||||
|
||||
NautilusToolbar > .toolbar {
|
||||
|
|
|
@ -2962,7 +2962,6 @@ nautilus_places_sidebar_init (NautilusPlacesSidebar *sidebar)
|
|||
GtkTreeViewColumn *col;
|
||||
GtkCellRenderer *cell;
|
||||
GtkTreeSelection *selection;
|
||||
GtkStyleContext *style;
|
||||
|
||||
sidebar->volume_monitor = g_volume_monitor_get ();
|
||||
|
||||
|
@ -2980,9 +2979,6 @@ nautilus_places_sidebar_init (NautilusPlacesSidebar *sidebar)
|
|||
tree_view = GTK_TREE_VIEW (gtk_tree_view_new ());
|
||||
gtk_tree_view_set_headers_visible (tree_view, FALSE);
|
||||
|
||||
style = gtk_widget_get_style_context (GTK_WIDGET (tree_view));
|
||||
gtk_style_context_add_class (style, "NautilusSidebar");
|
||||
|
||||
col = GTK_TREE_VIEW_COLUMN (gtk_tree_view_column_new ());
|
||||
|
||||
/* initial padding */
|
||||
|
|
Loading…
Reference in a new issue