summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/gui.py b/gui.py
index 9cd8f44e0..7a341f84a 100755
--- a/gui.py
+++ b/gui.py
@@ -592,13 +592,10 @@ class ExceptionWindow:
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
+ img = findPixmap("exception.png")
+ if os.path.exists(img):
+ infoImage.set_from_file(img)
# Add the brief traceback message to the upper text view.
textbuf = gtk.TextBuffer()