summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2006-03-13 03:14:21 +0000
committerjoncruz <joncruz@users.sourceforge.net>2006-03-13 03:14:21 +0000
commit9bb0a5efa651e1987a484f3f5317bb4dee893520 (patch)
tree48f4a26c42b7e3d2d634a7ea7cf42933d2704406 /src/interface.cpp
parent(sp_svg_write_color): Change 2nd arg (buflen) from signed to unsigned int. (diff)
downloadinkscape-9bb0a5efa651e1987a484f3f5317bb4dee893520.tar.gz
inkscape-9bb0a5efa651e1987a484f3f5317bb4dee893520.zip
Shift-drop of color now sets stroke.
(bzr r230)
Diffstat (limited to '')
-rw-r--r--src/interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index dd725477c..f47d0ffa2 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -998,7 +998,7 @@ sp_ui_drag_data_received(GtkWidget *widget,
//0x0ff & (data->data[3] >> 8),
));
SPCSSAttr *css = sp_repr_css_attr_new();
- sp_repr_css_set_property( css, (true) ? "fill":"stroke", c );
+ sp_repr_css_set_property( css, (drag_context->action != GDK_ACTION_MOVE) ? "fill":"stroke", c );
sp_desktop_apply_css_recursive( item, css, true );
item->updateRepr();