Code

Shift-drop of color now sets stroke.
authorjoncruz <joncruz@users.sourceforge.net>
Mon, 13 Mar 2006 03:14:21 +0000 (03:14 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Mon, 13 Mar 2006 03:14:21 +0000 (03:14 +0000)
ChangeLog
src/interface.cpp

index f4685db88750d04cbed4eab0b60c6f70decf935c..114d694bb4389fea912fdf4e15d65d492bd5f9c5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-10  Jon A. Cruz  <jon@joncruz.org>
+
+       * src/interface.cpp:
+
+         Shift-drop now sets stroke on target objects.
+       
 2006-03-11  MenTaLguY  <mental@rydia.net>
 
        * src/sp-object.cpp: experiment to verify that we can safely release
index dd725477c5772aead5d1e7493cc1d956a1b75d35..f47d0ffa255eb2a6bd720bfde38e420122fc6c6c 100644 (file)
@@ -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();