[MacOSX]Cut, Copy, and Paste in the registers

Derek Atkins warlord at MIT.EDU
Mon Aug 3 10:55:25 EDT 2009


Hi,

John Ralls <jralls at ceridwen.us> writes:

> I've figured out why this doesn't work: The register module (and
> perhaps a couple of others, I haven't looked) implements Cut, Copy,
> and Paste via gtkselections.c, which in turn depends upon
> gdkselection(-quartz).c. Unfortunately, gdkselection is an ICCCM
> (i.e., X-Windows) specific protocol. It might be possible to implement
> in Cocoa, but it would be a lot of work.
>
> It seems to me to be completely unnecessary for registers, where all
> of the data are strings. Is there any good reason not to rewrite the
> cut, copy, and paste functions to simply work the same as the main
> window ones? (If they go away along with the menu-stuffing and
> callbacks, will the gnc-main-window versions just magically take
> over?)

IIRC (I may be mistaken) the register cut/copy/paste does full
transaction copying...  But I might be misremembering.

> Regards,
> John Ralls

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list