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? -- 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