diff options
author | Matt Wilson <msw@redhat.com> | 2001-07-10 08:41:10 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-07-10 08:41:10 +0000 |
commit | 01e344a5c811ed8f414f35e355ba7cec50879a33 (patch) | |
tree | 61f60717602da21f1b798d8baf56f9734306d900 | |
parent | df52094ef694b0f4ad2ac2873904e6ef2b4e3928 (diff) | |
download | anaconda-01e344a5c811ed8f414f35e355ba7cec50879a33.tar.gz anaconda-01e344a5c811ed8f414f35e355ba7cec50879a33.tar.xz anaconda-01e344a5c811ed8f414f35e355ba7cec50879a33.zip |
use gnome.util functions to get pixmap
-rwxr-xr-x | gui.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 " |