2009/5/26 benarbe <[email protected]> > I think, youŕe calling the metacity gradient_create_multi the right way. > Try to comment out import gnomevfs, see what happens. In my system when i > did it, the color were not more at random. > Cheers > Benjamin
Thank you for trying to help. I tried this, but I don't see any link between using gnomevfs and this function. Anyway, I don't see any changes when removing the gnomevfs references. I'm just worried now that the Python function binded to the c counterpart should take a list as an argument, like for example gtk.targets_include_image, which then transform the list to an array in c. But that is not the case here. Maybe some code should be added in the gnome-python-desktop/metacity/metacitymodule.c or something related. I don't know much about Python binding C functions, so I'm kind of unaware of where to go now, and what to do. If anyone knows how it's handled in Python in other functions, when the C counterpart works with an array of G objects as an argument, that may help.
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
