Re: [evolution-patches] Re: A patch for calendar based on trunk



I've revised the ChangeLog file and checked it in. Thanks for your review.

Rodrigo Moya wrote:

On Tue, 2004-02-17 at 17:53 +0800, Kidd Wang wrote:

Hi,

This patch is aimed for trunk. We have found the behaviour of copy & paste is different from that of drag and drop. Suppose we have a 8:30am-9:00am appointment, for example, we get an all-day event if we drag it from main canvas to top canvas. On the other hand, the result will be a 12:00am-12:30am appointment if we perform a copy & paste on
the same original appointment.
Enclosed is a patch to make the two actions behave the same way described as follows:
In day view and work week view
       from main canvas to top canvas
before copy or drag: short event, after paste or drop: all-day event
       from main canvas to main canvas
before copy or drag: short event, after paste or drop: short event
       from top canvas to top canvas
before copy or drag: all-day event, after paste or drop: all-day event before copy or drag: long event, after paste or drop: long event
       from top canvas to main canvas
before copy or drag: all-day event, after paste or drop: short event before copy or drag: long event, after paste or drop: short event
I hope the above pseudo code is clear enough:-)
In week view, month view and list view life is pretty simple since there's no top canvas in these three views. We just get what
we copy or drag after we perform paste or drop.

codewise it looks ok, although it misses some stuff, it seems, in the
ChangeLog file, does it not?

cheers

_______________________________________________
Evolution-patches mailing list
Evolution-patches lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution-patches





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