Show More
@@ -29,6 +29,6 b' def _main_quit(*args, **kwargs):' | |||||
29 |
|
29 | |||
30 |
|
30 | |||
31 | def inputhook_gtk3(): |
|
31 | def inputhook_gtk3(): | |
32 | GLib.io_add_watch(sys.stdin, GLib.IO_IN, _main_quit) |
|
32 | GLib.io_add_watch(sys.stdin, GLib.PRIORITY_DEFAULT, GLib.IO_IN, _main_quit) | |
33 | Gtk.main() |
|
33 | Gtk.main() | |
34 | return 0 |
|
34 | return 0 |
@@ -8,5 +8,5 b' def _main_quit(*args, **kwargs):' | |||||
8 | return False |
|
8 | return False | |
9 |
|
9 | |||
10 | def inputhook(context): |
|
10 | def inputhook(context): | |
11 | GLib.io_add_watch(context.fileno(), GLib.IO_IN, _main_quit) |
|
11 | GLib.io_add_watch(context.fileno(), GLib.PRIORITY_DEFAULT, GLib.IO_IN, _main_quit) | |
12 | Gtk.main() |
|
12 | Gtk.main() |
General Comments 0
You need to be logged in to leave comments.
Login now