From: joncruz Date: Mon, 13 Mar 2006 03:14:21 +0000 (+0000) Subject: Shift-drop of color now sets stroke. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1105c28efa3cd76cd0f5be7262597b8837057760;p=inkscape.git Shift-drop of color now sets stroke. --- diff --git a/ChangeLog b/ChangeLog index f4685db88..114d694bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-10 Jon A. Cruz + + * src/interface.cpp: + + Shift-drop now sets stroke on target objects. + 2006-03-11 MenTaLguY * src/sp-object.cpp: experiment to verify that we can safely release 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();