summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-10 08:41:10 +0000
committerMatt Wilson <msw@redhat.com>2001-07-10 08:41:10 +0000
commit01e344a5c811ed8f414f35e355ba7cec50879a33 (patch)
tree61f60717602da21f1b798d8baf56f9734306d900
parentdf52094ef694b0f4ad2ac2873904e6ef2b4e3928 (diff)
downloadanaconda-01e344a5c811ed8f414f35e355ba7cec50879a33.tar.gz
anaconda-01e344a5c811ed8f414f35e355ba7cec50879a33.tar.xz
anaconda-01e344a5c811ed8f414f35e355ba7cec50879a33.zip
use gnome.util functions to get pixmap
-rwxr-xr-xgui.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index adf3da871..7d8b958bd 100755
--- a/gui.py
+++ b/gui.py
@@ -26,6 +26,7 @@ import sys
import parted
from translate import cat, _, N_
from gnome.ui import *
+from gnome.util import *
from gnome.xmhtml import *
from gtk import *
from _gtk import gtk_set_locale, gtk_rc_init, gtk_rc_reparse_all
@@ -183,12 +184,9 @@ class ExceptionWindow:
sw.set_policy (POLICY_AUTOMATIC, POLICY_AUTOMATIC)
hbox = GtkHBox (FALSE)
- # XXX fix me, use util function when we upgrade pygnome
- # s = unconditional_pixmap_file ("gnome-error.png")
- # use this for now
s = None
if s:
- hbox.pack_start (GnomePixmap ('/usr/share/pixmaps/gnome-warning.png'),
+ hbox.pack_start (GnomePixmap (pixmap_file('gnome-warning.png'),
FALSE)
info = GtkLabel (_("An exceptional condition has occured. This "