summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbfox <bfox>2000-12-18 17:20:20 +0000
committerbfox <bfox>2000-12-18 17:20:20 +0000
commit5a4a98f62131d605175e3b4fbe9a07d07d03eac9 (patch)
treeee2b68c1d56040af1d4131766b4927f498c7f202
parent4ef12cd679af6e877893fa86145942aef301b070 (diff)
downloadanaconda-5a4a98f62131d605175e3b4fbe9a07d07d03eac9.tar.gz
anaconda-5a4a98f62131d605175e3b4fbe9a07d07d03eac9.tar.xz
anaconda-5a4a98f62131d605175e3b4fbe9a07d07d03eac9.zip
Changed the way the checkbox looks in the GtkCList
-rw-r--r--iw/lilo_gui.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/iw/lilo_gui.py b/iw/lilo_gui.py
index 62575307f..45ab7cac1 100644
--- a/iw/lilo_gui.py
+++ b/iw/lilo_gui.py
@@ -3,18 +3,25 @@ from iw_gui import *
from gtk import *
from translate import _
-from xpms_gui import SMALL_CHECK
+from xpms_gui import CHECKBOX_ON_XPM
+from xpms_gui import CHECKBOX_OFF_XPM
import GdkImlib
import iutil
if iutil.getArch() == 'i386':
import edd
class LiloWindow (InstallWindow):
- foo = GdkImlib.create_image_from_xpm (SMALL_CHECK)
+ foo = GdkImlib.create_image_from_xpm (CHECKBOX_ON_XPM)
foo.render()
checkMark = foo.make_pixmap()
del foo
+ foo = GdkImlib.create_image_from_xpm (CHECKBOX_OFF_XPM)
+ foo.render()
+ checkMark_Off = foo.make_pixmap()
+ del foo
+
+
def __init__ (self, ics):
InstallWindow.__init__ (self, ics)
@@ -176,7 +183,8 @@ class LiloWindow (InstallWindow):
self.imageList.set_pixmap(index, 0, self.checkMark)
self.default = index
else:
- self.imageList.set_text(index, 0, "")
+# self.imageList.set_text(index, 0, "")
+ self.imageList.set_pixmap(index, 0, self.checkMark_Off)
self.default = None
if self.checkLiloReqs():