places-sidebar: use the widget type directly instead of defining a class

This commit is contained in:
Cosimo Cecchi 2011-02-24 20:51:08 -05:00
parent 5df1702084
commit 6c9cfec6cc
2 changed files with 4 additions and 8 deletions

View file

@ -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 {

View file

@ -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 */