Code

quick ad-hoc fix to restore guide dragging
authorcilix42 <cilix42@users.sourceforge.net>
Tue, 27 Jan 2009 16:38:37 +0000 (16:38 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Tue, 27 Jan 2009 16:38:37 +0000 (16:38 +0000)
src/desktop-events.cpp

index 6cf1dde1ab10f248e419bf755c7a91c5a03819fc..46fb00cca773cf27eeaac5f3b4df20ceb32d5e98 100644 (file)
@@ -247,7 +247,7 @@ gint sp_dt_guide_event(SPCanvasItem *item, GdkEvent *event, gpointer data)
                     // the click was on the guide 'anchor'
                     drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_MOVE_ORIGIN : SP_DRAG_TRANSLATE;
                 } else {
-                    drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_TRANSLATE : SP_DRAG_ROTATE;
+                    drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_ROTATE : SP_DRAG_TRANSLATE;
                     sp_canvas_item_grab(item,
                                         ( GDK_BUTTON_RELEASE_MASK  |
                                           GDK_BUTTON_PRESS_MASK    |