Hi,

Are you using an ItemFactory?  Do you keep a reference to it?

I had a problem with sometimes losing my menu as well.  I wasn't using
MySQL, and don't know if it's the same problem you're having.  

The solution I found was to hold on to a reference to the ItemFactory. 
Must have been a garbage collection problem.

Hope that helps,

David.


On Mon, 3 Nov 2003 23:30:30 +0100
mc collilieux <[EMAIL PROTECTED]> wrote:

> Hello, I  would continue a programm beginned with pygtk 1.99.13 and
> python 2.2 (which was working well) with python 2.2.2 and pygtk 2.0
> and it is crazy...
> 
> I have a top level window with :
> vbox
> ---vbox
> ------ a menubar
> ---vbox
> ------ a notebook
> 
> Each choice of menu call a module which open and write a new page of
> Notebook and when inside this module, there is a onnection to MySQLdb,
> my menu is eaten by the new page of notebook.
> 
> If my module has a line "import MySQLdb" but no connexion requested,
> it is good, 
> but if the module as a line "from %ySQLdb import *", without
> connection, it eat my menubar !
> 
> I can't understand the link between my menu and mysql ! I have try
> MySQLdb 0.9.1, 0.9.2 and 0.9.3 test, it is the same thing.
> 
> Please, an idea ?
> 
> PS : I am on Slackware 9.0
> 
> -- 
> Marie-Claude Collilieux
> Bretagne 
> _______________________________________


-- 
http://www.linuxsoftware.co.nz
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to