def main(): notification_manager.init("Scrapstream") GObject.threads_init() # Necessary to use multithreading window = StreamWindow() window.show() signal.signal(signal.SIGINT, signal.SIG_DFL) Gtk.main()