From: Steven P. <n9...@n9...> - 2004-04-07 02:05:34
|
On Apr 6, 2004, at 7:44 PM, Roger Binns wrote: >> But I will perservere. LoL. Eventually *something* has to give. >> <wink> > > Are you regretting touching the code yet :-? Well, in response to your "he who touched it last", I was recently thinking of... "But you started it!" :-) > BTW what is the actual problem? On both Linux and Windows, images drag > perfectly into any part of the wallpaper view. For the ringer view, > they drag in perfectly as well, but there is a later exception while > transmogrifying the name. Ugh! Well, it doesn't work on the Macintosh. This must be some platform issue, then. It wasn't working in ringer or wallpaper view... I found by changing the code in guiwidgets.py for the __init__ method of the FileView class putting in the following would allow it to work for the preview area and the icon view: self.droptarget=MyFileDropTarget(self) self.SetDropTarget(self.droptarget) self.icons.SetDropTarget(self.droptarget) self.preview.SetDropTarget(self.droptarget) However, it crashes something when you quit BitPim. :-( Obviously this "magic bit" is doing something on the Mac, but it's not needed on the other platforms. <sigh> More digging. I'm about to check in some changes, test it on Windows and/or Linux and see how it fares there. |