projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0f395d
)
Catch KeyboardInterrupt Exception
1.2.0.20091225
author
Peng Huang
<shawn.p.huang@gmail.com>
Fri, 25 Dec 2009 00:33:11 +0000
(08:33 +0800)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Fri, 25 Dec 2009 00:33:11 +0000
(08:33 +0800)
ui/gtk/main.py
patch
|
blob
|
history
diff --git
a/ui/gtk/main.py
b/ui/gtk/main.py
index
c38b47f
..
7b38427
100644
(file)
--- a/
ui/gtk/main.py
+++ b/
ui/gtk/main.py
@@
-63,7
+63,10
@@
class UIApplication:
self.__notify.show()
def run(self):
- gtk.main()
+ try:
+ gtk.main()
+ except KeyboardInterrupt:
+ pass
def launch_panel():
# gtk.settings_get_default().props.gtk_theme_name = "/home/phuang/.themes/aud-Default/gtk-2.0/gtkrc"