Re: Sheet object duplication issue



Hi,

Le dimanche 04 septembre 2005 à 15:56 +0200, Emmanuel Pacaud a écrit :
With gnumeric HEAD, if you Ctrl+click on a sheet object, this one is
duplicated but can't be moved.

Following patch fixes this issue, but I'm not sure of what's behind
pane->created_objects test.

Any comments ?

Since there's no objection, I'll commit this patch tonight.

        Emmanuel.


--- src/gnumeric-pane.c       30 Aug 2005 00:52:57 -0000      1.99
+++ src/gnumeric-pane.c       1 Sep 2005 16:43:36 -0000
@@ -1117,7 +1117,7 @@ cb_control_point_event (FooCanvasItem *c
               * the semantics of the col,row args in the callback.  However,
               * that is more work than I want to do right now.
               */
-             if (idx == 8 &&  !pane->drag.created_objects)
+             if (idx == 8) 
                      gnm_pane_drag_begin (pane, so, event);
              else if (gnm_canvas_handle_motion (GNM_CANVAS (ctrl_pt->canvas),
                                                 ctrl_pt->canvas, &event->motion,





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]