summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-12-27 21:38:37 +0000
committerJeremy Katz <katzj@redhat.com>2001-12-27 21:38:37 +0000
commit461bb45a6c38ecbc8defc67fa92c16a3818203d0 (patch)
treeca8ec36cdaf8382934bef1e3775a435f2cfbc0fb /iw
parente4b6e85922b727ab545f79f9041f285bccd15b52 (diff)
downloadanaconda-461bb45a6c38ecbc8defc67fa92c16a3818203d0.tar.gz
anaconda-461bb45a6c38ecbc8defc67fa92c16a3818203d0.tar.xz
anaconda-461bb45a6c38ecbc8defc67fa92c16a3818203d0.zip
more pycheck cleanup
Diffstat (limited to 'iw')
-rw-r--r--iw/partition_gui.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index f70cb7793..373be5871 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -23,7 +23,6 @@ import parted
import string
import copy
import types
-from gui import WrappingLabel, widgetExpander
from iw_gui import *
from translate import _, N_
from partitioning import *
@@ -1766,13 +1765,13 @@ class AutoPartitionWindow(InstallWindow):
box = gtk.VBox(gtk.FALSE)
box.set_border_width(5)
- label = WrappingLabel(_(autopart.AUTOPART_DISK_CHOICE_DESCR_TEXT))
+ label = gui.WrappingLabel(_(autopart.AUTOPART_DISK_CHOICE_DESCR_TEXT))
label.set_alignment(0.0, 0.0)
box.pack_start(label, gtk.FALSE, gtk.FALSE)
# what partition types to remove
clearbox = gtk.VBox(gtk.FALSE)
- label = WrappingLabel(_("I want to have automatic partitioning:"))
+ label = gui.WrappingLabel(_("I want to have automatic partitioning:"))
label.set_alignment(0.0, 0.0)
clearbox.pack_start(label, gtk.FALSE, gtk.FALSE, 10)
@@ -1803,8 +1802,8 @@ class AutoPartitionWindow(InstallWindow):
# which drives to use?
drivesbox = gtk.VBox(gtk.FALSE)
- label = WrappingLabel(_("Which drive(s) do you want to use for this "
- "installation?"))
+ label = gui.WrappingLabel(_("Which drive(s) do you want to use for "
+ "this installation?"))
label.set_alignment(0.0, 0.0)
drivesbox.pack_start(label, gtk.FALSE, gtk.FALSE, 10)
self.driveclist = createAllowedDrivesClist(diskset.disks,
@@ -1825,11 +1824,11 @@ class AutoPartitionWindow(InstallWindow):
box.pack_start(drivesbox, gtk.FALSE, gtk.FALSE)
self.inspect = gtk.CheckButton()
- widgetExpander(self.inspect)
+ gui.widgetExpander(self.inspect)
label = gtk.Label(_("Review (allows you to see and change the "
"automatic partitioning results)"))
label.set_line_wrap(gtk.TRUE)
- widgetExpander(label, self.inspect)
+ gui.widgetExpander(label, self.inspect)
label.set_alignment(0.0, 1.0)
self.inspect.add(label)