GtkTreeView: Add some CSS for the 'dnd' style class so drawing the drag-dest-row works

The default CSS didn't have anything for GtkTreeView's 'dnd' style class.  So,
the call to gtk_render_frame() to draw the highlight frame for the drag-dest-row
was getting a border-width of 0, and nothing was drawn as a result.

Now we just copy the default from Adwaita, but make the border-radius 0, to make it
square like the rest of the Raleigh theme...
This commit is contained in:
Federico Mena Quintero 2013-02-27 13:46:49 -06:00
parent 6d94f8a56c
commit 0d95705bd5

View File

@ -38,6 +38,13 @@ GtkTreeView.view.expander:selected:hover {
color: @text_color;
}
GtkTreeView.dnd {
border-color: @internal_element_color;
border-radius: 0;
border-width: 1px;
border-style: solid;
}
*:insensitive {
border-color: shade (@bg_color, 0.7);
background-color: shade (@bg_color, 0.9);