summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 657678339..9cd8f44e0 100755
--- a/gui.py
+++ b/gui.py
@@ -588,9 +588,18 @@ class ExceptionWindow:
exnView = exnxml.get_widget("exnView")
expander = exnxml.get_widget("exnExpander")
info = exnxml.get_widget("info")
+ infoImage = exnxml.get_widget("infoImage")
info.set_text(exceptionText)
+ # IKEA is fun
+ infoImage.clear()
+ for imgdir in ("/usr/share/anaconda/pixmaps", "/mnt/source/RHupdates"):
+ img = imgdir + "/exception.png"
+ if os.path.exists(img):
+ infoImage.set_from_file(img)
+ break
+
# Add the brief traceback message to the upper text view.
textbuf = gtk.TextBuffer()
textbuf.set_text(shortTraceback)