Hi,

I'm experiencing problems when I try to close a window by pressing the
upper-right close button on the window title bar.

This small app exposes the bug:

import pygtk
pygtk.require('2.0')
import gtk, bonobo, bonobo.ui

def init():
    window = bonobo.ui.Window ('Title', 'test')
    window.set_size_request(100, 100)
    window.show_all ()
    ui_container = window.get_ui_container ()
    engine = window.get_ui_engine ()
    engine.config_set_path ('/hello-app/UIConfig/kvps')
    ui_component = bonobo.ui.Component ('test')
    ui_component.set_container (ui_container.corba_objref ())

init()
bonobo.main()


It's basically the same problem I had with orbit-python, but I can't
figure out what the *real* problem is...

Any help would be appreciated.

Regards,

Arjan

_______________________________________________
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