summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-12-13 17:40:09 +0000
committerMike Fulbright <msf@redhat.com>2000-12-13 17:40:09 +0000
commit1faa029003ecc766fe4c481f382a37ef423b77ec (patch)
tree2f7a07cd989810bfa3d910e9f80eb407cd6be9cb /iw
parenta6cbe352c7bfe84330770797e3abac2aba844d62 (diff)
downloadanaconda-1faa029003ecc766fe4c481f382a37ef423b77ec.tar.gz
anaconda-1faa029003ecc766fe4c481f382a37ef423b77ec.tar.xz
anaconda-1faa029003ecc766fe4c481f382a37ef423b77ec.zip
added comments to tell what tags correspond to what screens
Diffstat (limited to 'iw')
-rw-r--r--iw/account_gui.py1
-rw-r--r--iw/auth_gui.py3
-rw-r--r--iw/bootdisk_gui.py1
-rw-r--r--iw/confirm_gui.py1
-rw-r--r--iw/congrats_gui.py2
-rw-r--r--iw/dependencies_gui.py1
-rw-r--r--iw/examine_gui.py1
-rw-r--r--iw/fdisk_gui.py1
-rw-r--r--iw/format_gui.py1
-rw-r--r--iw/installpath_gui.py1
-rw-r--r--iw/keyboard_gui.py1
-rw-r--r--iw/language_gui.py3
-rw-r--r--iw/lilo_gui.py1
-rw-r--r--iw/mouse_gui.py1
-rw-r--r--iw/network_gui.py1
-rw-r--r--iw/package_gui.py3
-rw-r--r--iw/progress_gui.py2
-rw-r--r--iw/rootpartition_gui.py34
-rw-r--r--iw/silo_gui.py1
-rw-r--r--iw/timezone_gui.py3
-rw-r--r--iw/welcome_gui.py2
-rw-r--r--iw/xconfig_gui.py5
22 files changed, 49 insertions, 21 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index fbebf1544..f7bff2549 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -163,6 +163,7 @@ class AccountWindow (InstallWindow):
def setFocus (self, area, data):
self.pw.grab_focus ()
+ # AccountWindow tag="accts"
def getScreen (self):
self.passwords = {}
self.editingUser = None
diff --git a/iw/auth_gui.py b/iw/auth_gui.py
index 1cac96407..bee560e63 100644
--- a/iw/auth_gui.py
+++ b/iw/auth_gui.py
@@ -71,7 +71,8 @@ class AuthWindow (InstallWindow):
self.todo.auth.krb5Realm = self.krb5Realm.get_text ()
self.todo.auth.krb5Kdc = self.krb5Kdc.get_text ()
self.todo.auth.krb5Admin = self.krb5Admin.get_text ()
-
+
+ # AuthWindow tag="authconf"
def getScreen (self):
box = GtkVBox (FALSE, 10)
self.md5 = GtkCheckButton (_("Enable MD5 passwords"))
diff --git a/iw/bootdisk_gui.py b/iw/bootdisk_gui.py
index 396368e93..63514d54e 100644
--- a/iw/bootdisk_gui.py
+++ b/iw/bootdisk_gui.py
@@ -36,6 +36,7 @@ class BootdiskWindow (InstallWindow):
threads_enter ()
return None
+ # BootdiskWindow tag="bootdisk"
def getScreen (self):
if iutil.getArch() == "alpha":
return None
diff --git a/iw/confirm_gui.py b/iw/confirm_gui.py
index 1431e6709..44d3f098b 100644
--- a/iw/confirm_gui.py
+++ b/iw/confirm_gui.py
@@ -16,6 +16,7 @@ class ConfirmWindow (InstallWindow):
ics.setTitle (_("About to Install"))
ics.readHTML ("aboutinstall")
+ # ConfirmWindow tag="aboutupgrade" or "aboutinstall"
def getScreen (self):
hbox = GtkHBox (TRUE, 5)
box = GtkVBox (FALSE, 5)
diff --git a/iw/congrats_gui.py b/iw/congrats_gui.py
index ca31a4af2..0075550ad 100644
--- a/iw/congrats_gui.py
+++ b/iw/congrats_gui.py
@@ -15,6 +15,7 @@ class CongratulationWindow (InstallWindow):
ics.setHelpButtonEnabled (FALSE)
ics.setGrabNext (1)
+ # CongratulationWindow tag=NA
def getScreen (self):
self.ics.setHelpEnabled (FALSE)
@@ -62,6 +63,7 @@ class ReconfigCongratulationWindow (InstallWindow):
ics.setNextEnabled (1)
ics.setGrabNext (1)
+ # ReconfigCongratulationWindow tag=NA
def getScreen (self):
self.ics.setHelpEnabled (0)
diff --git a/iw/dependencies_gui.py b/iw/dependencies_gui.py
index 278143c22..3bbb6a9cc 100644
--- a/iw/dependencies_gui.py
+++ b/iw/dependencies_gui.py
@@ -51,6 +51,7 @@ class UnresolvedDependenciesWindow (InstallWindow):
self.todo.unselectDeps (self.deps)
self.updateSize ()
+ #UnresolvedDependenciesWindow tag="depend"
def getScreen (self):
if not UnresolvedDependenciesWindow.moredeps:
threads_leave ()
diff --git a/iw/examine_gui.py b/iw/examine_gui.py
index 32974a9da..b1ec022d3 100644
--- a/iw/examine_gui.py
+++ b/iw/examine_gui.py
@@ -25,6 +25,7 @@ class UpgradeExamineWindow (InstallWindow):
return IndividualPackageSelectionWindow
return None
+ #UpgradeExamineWindow tag = "upgrade"
def getScreen (self):
threads_leave ()
self.parts = self.todo.upgradeFindRoot ()
diff --git a/iw/fdisk_gui.py b/iw/fdisk_gui.py
index 3768b6fd7..76b8a92ef 100644
--- a/iw/fdisk_gui.py
+++ b/iw/fdisk_gui.py
@@ -78,6 +78,7 @@ class FDiskWindow (InstallWindow):
self.ics.setPrevEnabled (0)
self.ics.setNextEnabled (0)
+ # FDiskWindow tag="fdisk"
def getScreen (self):
# from installpath_gui import InstallPathWindow
#
diff --git a/iw/format_gui.py b/iw/format_gui.py
index 647d315f2..6a0526bb4 100644
--- a/iw/format_gui.py
+++ b/iw/format_gui.py
@@ -14,6 +14,7 @@ class FormatWindow (InstallWindow):
## ics.setHTML ("<HTML><BODY>Choose partitions to Format</BODY></HTML>")
ics.readHTML ("format")
+ # FormatWindow tag="format"
def getScreen (self):
def toggled (widget, (todo, dev)):
if widget.get_active ():
diff --git a/iw/installpath_gui.py b/iw/installpath_gui.py
index 85d0b0fdc..b1d2577d3 100644
--- a/iw/installpath_gui.py
+++ b/iw/installpath_gui.py
@@ -167,6 +167,7 @@ class InstallPathWindow (InstallWindow):
button = GtkRadioButton (group, label)
return button
+ # InstallPathWindow tag="instpath"
def getScreen (self):
if (self.todo.instClass.installType == "install"):
self.ics.getICW ().setStateList (self.commonSteps +
diff --git a/iw/keyboard_gui.py b/iw/keyboard_gui.py
index 87f93d692..5c9dc8621 100644
--- a/iw/keyboard_gui.py
+++ b/iw/keyboard_gui.py
@@ -47,6 +47,7 @@ class KeyboardWindow (InstallWindow):
if self.todo.setupFilesystems:
self.kb.setRule (self.model, self.layout, self.variant, "complete")
+ # KeyboardWindow tag="kybd"
def getScreen (self):
if not self.hasrun:
default = iutil.defaultKeyboard()
diff --git a/iw/language_gui.py b/iw/language_gui.py
index 079273c30..b07fd08c7 100644
--- a/iw/language_gui.py
+++ b/iw/language_gui.py
@@ -32,7 +32,8 @@ class LanguageWindow (InstallWindow):
if self.running:
lang = clist.get_text (clist.selection[0], 0)
self.lang = lang
-
+
+ # LanguageWindow tag="lang"
def getScreen (self):
self.running = 0
mainBox = GtkVBox (FALSE, 10)
diff --git a/iw/lilo_gui.py b/iw/lilo_gui.py
index 2beb69dd6..62575307f 100644
--- a/iw/lilo_gui.py
+++ b/iw/lilo_gui.py
@@ -209,6 +209,7 @@ class LiloWindow (InstallWindow):
self.defaultCheck.set_active(0)
self.ignoreSignals = 0
+ # LiloWindow tag="lilo"
def getScreen (self):
(self.rootdev, rootfs) = self.todo.fstab.getRootDevice()
diff --git a/iw/mouse_gui.py b/iw/mouse_gui.py
index df86f7909..263c31784 100644
--- a/iw/mouse_gui.py
+++ b/iw/mouse_gui.py
@@ -120,6 +120,7 @@ class MouseWindow (InstallWindow):
self.locList.set_sensitive(FALSE)
self.ics.setNextEnabled (TRUE)
+ # MouseWindow tag="mouse"
def getScreen (self):
self.availableMice = self.todo.mouse.available()
sorted_mice_keys = self.availableMice.keys()
diff --git a/iw/network_gui.py b/iw/network_gui.py
index 38b9105f0..07961d5ac 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -133,6 +133,7 @@ class NetworkWindow (InstallWindow):
onboot = "no"
dev.set (("onboot", onboot))
+ # NetworkWindow tag="netconf"
def getScreen (self):
box = GtkVBox ()
box.set_border_width (5)
diff --git a/iw/package_gui.py b/iw/package_gui.py
index a9b2f56b2..cd10ca928 100644
--- a/iw/package_gui.py
+++ b/iw/package_gui.py
@@ -286,6 +286,7 @@ class IndividualPackageSelectionWindow (InstallWindow):
def updateSize(self):
self.totalSizeLabel.set_text(_("Total install size: ")+ str(self.todo.comps.sizeStr()))
+ # IndividualPackageSelectionWindow tag="sel-indiv"
def getScreen (self):
threads_leave ()
self.todo.getHeaderList()
@@ -512,7 +513,7 @@ class PackageSelectionWindow (InstallWindow):
self.setSize()
-
+ # PackageSelectionWindow tag="sel-group"
def getScreen (self):
#--If we can't retreive hdlist or comps files, raise an error
try:
diff --git a/iw/progress_gui.py b/iw/progress_gui.py
index df3b048b5..7e8901cc4 100644
--- a/iw/progress_gui.py
+++ b/iw/progress_gui.py
@@ -154,7 +154,7 @@ class InstallProgressWindow (InstallWindow):
for x in range (4):
widget.set_column_width (x, width / 4)
-
+ # InstallProgressWindow tag="installing"
def getScreen (self):
import glob
diff --git a/iw/rootpartition_gui.py b/iw/rootpartition_gui.py
index 3d46a0dba..f145e5ec4 100644
--- a/iw/rootpartition_gui.py
+++ b/iw/rootpartition_gui.py
@@ -12,21 +12,22 @@ CHOICE_FDISK = 1
CHOICE_DDRUID = 2
CHOICE_AUTOPART = 3
-
-class ConfirmPartitionWindow (InstallWindow):
- def __init__ (self, ics):
- InstallWindow.__init__ (self, ics)
-
- self.todo = ics.getToDo ()
- ics.setTitle (_("Confirm Partitioning Selection"))
- ics.readHTML ("partition")
- ics.setNextEnabled (TRUE)
-
- def getScreen (self):
- return self.window
-
- def getPrev (self):
- return PartitionWindow
+# 12-12-2000 msf - this is no longer used - leaving just in case I'm wrong
+#class ConfirmPartitionWindow (InstallWindow):
+# def __init__ (self, ics):
+# InstallWindow.__init__ (self, ics)
+#
+# self.todo = ics.getToDo ()
+# ics.setTitle (_("Confirm Partitioning Selection"))
+# ics.readHTML ("partition")
+# ics.setNextEnabled (TRUE)
+#
+# # ConfirmPartitionWindow tag="partition"
+# def getScreen (self):
+# return self.window
+#
+# def getPrev (self):
+# return PartitionWindow
class PartitionWindow (InstallWindow):
swapon = 0
@@ -92,6 +93,7 @@ class PartitionWindow (InstallWindow):
def enableCallback (self, value):
self.ics.setNextEnabled (value)
+ # PartitionWindow tag="partition"
def getScreen (self):
self.running = 0
if not self.todo.fstab.getRunDruid(): return None
@@ -127,6 +129,7 @@ class LoopSizeWindow(InstallWindow):
self.swapAdj.set_value(swapsize)
+ # LoopSizeWindow tag="loopback"
def getScreen (self):
# XXX error check mount that this check tries
if self.todo.setupFilesystems:
@@ -252,6 +255,7 @@ class AutoPartitionWindow(InstallWindow):
self.beingDisplayed = 0
self.lastChoice = None
+ # AutoPartitionWindow tag="wkst" or "svr", in installclass.py:setClearParts
def getScreen (self):
# XXX hack
diff --git a/iw/silo_gui.py b/iw/silo_gui.py
index 0d5353fb8..9a77753c4 100644
--- a/iw/silo_gui.py
+++ b/iw/silo_gui.py
@@ -142,6 +142,7 @@ class SiloWindow (InstallWindow):
self.defaultCheck.set_active(0)
self.ignoreSignals = 0
+ # SiloWindow tag="silo"
def getScreen (self):
(self.images, defaultLabel) = self.todo.silo.getSiloImages(self.todo.fstab)
self.ignoreSignals = 0
diff --git a/iw/timezone_gui.py b/iw/timezone_gui.py
index 34cb7fd2e..368aff774 100644
--- a/iw/timezone_gui.py
+++ b/iw/timezone_gui.py
@@ -106,7 +106,8 @@ class TimezoneWindow (InstallWindow):
except SystemError:
pass
widget.disconnect (self.id)
-
+
+ # TimezoneWindow tag="timezone"
def getScreen (self):
try:
f = open ("/usr/share/anaconda/pixmaps/map480.png")
diff --git a/iw/welcome_gui.py b/iw/welcome_gui.py
index cd3612cfd..723ca26e8 100644
--- a/iw/welcome_gui.py
+++ b/iw/welcome_gui.py
@@ -13,6 +13,7 @@ class WelcomeWindow (InstallWindow):
ics.readHTML ("wel")
self.ics = ics
+ # WelcomeWindow tag="wel"
def getScreen (self):
frame = GtkFrame ()
frame.set_shadow_type (SHADOW_IN)
@@ -55,6 +56,7 @@ class ReconfigWelcomeWindow (InstallWindow):
self.beingDisplay = 0
return None
+ # ReconfigWelcomeWindow tag="welreconfig"
def getScreen (self):
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 0820fc813..f2b2fe26b 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -149,6 +149,7 @@ class XCustomWindow (InstallWindow):
self.hbox4.pack_start (self.vbox4)
self.hbox4.show_all ()
+ # XCustomWindow tag="xcustom"
def getScreen (self):
self.oldmodes = self.todo.x.modes
@@ -652,6 +653,7 @@ class MonitorWindow (InstallWindow):
self.hEntry.emit_stop_by_name ("insert_text")
self.hEntry.emit_stop_by_name ("insert_text")
+ # MonitorWindow tag="monitor"
def getScreen (self):
# Don't configure X in reconfig mode.
@@ -987,7 +989,8 @@ class XConfigWindow (InstallWindow):
def desktopCb (self, widget, desktop):
self.newDesktop = desktop
-
+
+ # XConfigWindow tag="xconf"
def getScreen (self):
# Don't configure X in reconfig mode.
# in regular install, check to see if the XFree86 package is