[gnome-music/wip/merge: 139/343] Quit GTK if unhandled exception occurs - fix import
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 139/343] Quit GTK if unhandled exception occurs - fix import
- Date: Thu, 25 Jul 2013 11:25:06 +0000 (UTC)
commit d0e49baf697cfe5cc9e0680ad635508ba652243a
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Jul 15 20:28:13 2013 +0200
Quit GTK if unhandled exception occurs - fix import
gnome-music.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-music.in b/gnome-music.in
index eae6c8d..23c4545 100644
--- a/gnome-music.in
+++ b/gnome-music.in
@@ -8,6 +8,7 @@ from gnomemusic.application import Application
def install_excepthook():
""" Make sure we exit when an unhandled exception occurs. """
+ from gi.repository import Gtk
old_hook = sys.excepthook
def new_hook(etype, evalue, etb):
old_hook(etype, evalue, etb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]