exporting _gtk_selection_request for selection manager use

2008-03-13 Thread Xavier Toth
I'm working on a secure selection manager based on glipper. What it needs to be able to do is intervene and make a security determination when a paste is requested. 'glipper' currently monitors clipboard ownership changes at which time is gets the clipboard contents. I've modified glipper to become

Re: exporting _gtk_selection_request for selection manager use

2008-03-13 Thread Xavier Toth
Sorry this is a noop. As I read further I realized that this will be the behavior if my handler returns false. On Thu, Mar 13, 2008 at 12:38 PM, Xavier Toth <[EMAIL PROTECTED]> wrote: > I'm working on a secure selection manager based on glipper. What it > needs to be able to do

Re: exporting _gtk_selection_request for selection manager use

2008-03-15 Thread Xavier Toth
57 AM, Matthias Clasen <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 13, 2008 at 1:38 PM, Xavier Toth <[EMAIL PROTECTED]> wrote: > > I'm working on a secure selection manager based on glipper. What it > > needs to be able to do is intervene and make a security d

gdk_X11_get_default_xdisplay intermittently returns bad Display pointer

2009-03-28 Thread Xavier Toth
I've got some python code in which I'm trying to use gdk_X11_get_default_xdisplay but it fails intermittently returning a bad pointer. I don't believe that this problem has anything to do with python. Have others experienced this and if so are there any workarounds? Is this a know issue? I'm runnin