summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-01-09 21:16:23 +0000
committerJeremy Katz <katzj@redhat.com>2006-01-09 21:16:23 +0000
commit9676252c923dd099ca602e4c451a565b75f87252 (patch)
tree78c73ec6757023cbc90297cc9515a233f23a2074 /gui.py
parent9a135a0216801f670da98136445c37f9cb9f867a (diff)
downloadanaconda-9676252c923dd099ca602e4c451a565b75f87252.tar.gz
anaconda-9676252c923dd099ca602e4c451a565b75f87252.tar.xz
anaconda-9676252c923dd099ca602e4c451a565b75f87252.zip
2006-01-09 Jeremy Katz <katzj@redhat.com>
* ui/exn.glade: Various little tweaks * pixmaps/exception.png: More accurate icon * gui.py (ExceptionWindow.__init__): Use our method for finding images so this works everywhere.
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()