Why is xap_unixClipboard.cpp:canPaste ifdef'd out?

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Thu Mar 22 2007 - 05:28:24 CET

Hi everyone,
            Currently the method XAP_UnixClipboard::canPaste looks like
this:

bool XAP_UnixClipboard::canPaste(T_AllowGet tFrom)
{
#if 0
        bool found = false;
        GtkClipboard * clipboard = gtkClipboardForTarget(tFrom);
.....
... lots more code ..
.....
        
        return found;
#else
        return true;
#endif
}

and of course always returns true. Why is this present? Whoever did this
please explain so we can fix it.

Right now our paste buttons are always sensitive even if there is
nothing to paste.

Cheers

Martin
Received on Thu Mar 22 05:39:00 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 22 2007 - 05:39:01 CET