On Mon, 2008-03-03 at 09:19 +0000, Martin Pitt wrote: > Thanks, James, but calling ui_init() in check is the wrong way to fix it > IMHO with the current code structure, since ui_init() will bring up the > main window. But --check should just keep the tray icon alive and > process events there. In gtk this can be achieved with gtk.main(). Does > Qt have a similar 'static' function? > > If not, can we change ui_main_loop() to check for an initialized mw > first, and if that does not exist, run some exec() function on the tray > icon instead? > > If that is not suitable for the Qt implementation, I could also split > ui_init() into ui_init() and ui_show_main() upstream, if that's better? >
Hi Martin, I have a confession to make. I know nothing about qt, I just looked at the code and tried to see what would make the attribute be set, and went for the simple fix. I guess you'll need to contact someone with qt experience to get the right solutions. Sorry to waste your time. Thanks, James -- jockey-kde crashed with AttributeError in ui_main_loop() https://bugs.launchpad.net/bugs/193985 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs