summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-05-30 13:40:20 +0300
committerErnestas Kulik <ernestask@gnome.org>2018-05-31 13:35:19 +0300
commit75d73cf46665d4400b8336cd08d5e2fd15428c40 (patch)
tree21592c288932cc808734eb061d41e0c9dabfe8e2
parent049a0ee13e93d0f239c73aba85cf8aa28ad3708a (diff)
downloadnautilus-75d73cf46665d4400b8336cd08d5e2fd15428c40.tar.gz
canvas-dnd: Don’t set removed properties
NautilusSelectionCanvasItem lost a few properties that control the way the selection rectangle is drawn, namely the color and stippling-enabling ones, which results in different rendering of the file outlines when dragging multiple of them. At the moment, the outlines are styled according to GTK_STYLE_CLASS_RUBBERBAND, which gives them solid blue-ish borders and a light blue background. This commit removes the code that sets those properties.
-rw-r--r--src/nautilus-canvas-dnd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nautilus-canvas-dnd.c b/src/nautilus-canvas-dnd.c
index f3d51124a..388536a11 100644
--- a/src/nautilus-canvas-dnd.c
+++ b/src/nautilus-canvas-dnd.c
@@ -133,7 +133,6 @@ create_selection_shadow (NautilusCanvasContainer *container,
{
NautilusDragSelectionItem *item;
int x1, y1, x2, y2;
- GdkRGBA black = { 0, 0, 0, 1 };
item = p->data;
@@ -156,9 +155,6 @@ create_selection_shadow (NautilusCanvasContainer *container,
"y1", (double) y1,
"x2", (double) x2,
"y2", (double) y2,
- "outline-color-rgba", &black,
- "outline-stippling", TRUE,
- "width_pixels", 1,
NULL);
}
}