summaryrefslogtreecommitdiffstats
path: root/iw/raid_dialog_gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-28 20:12:18 +0000
committerMike Fulbright <msf@redhat.com>2002-06-28 20:12:18 +0000
commit64e14c1984b08bfeefae70ee44fb9efe52e33f41 (patch)
treed209e84dd4b087a525e232b9d1d2f41f30e567c1 /iw/raid_dialog_gui.py
parentb8bf4a92d4e0dcc0e11f3c014a5c76d506c28f31 (diff)
downloadanaconda-64e14c1984b08bfeefae70ee44fb9efe52e33f41.tar.gz
anaconda-64e14c1984b08bfeefae70ee44fb9efe52e33f41.tar.xz
anaconda-64e14c1984b08bfeefae70ee44fb9efe52e33f41.zip
make title sensitive to if object is new or old
Diffstat (limited to 'iw/raid_dialog_gui.py')
-rw-r--r--iw/raid_dialog_gui.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py
index 7bccb0bde..4105ba320 100644
--- a/iw/raid_dialog_gui.py
+++ b/iw/raid_dialog_gui.py
@@ -272,7 +272,12 @@ class RaidEditor:
dlg.destroy()
return
- dialog = gtk.Dialog(_("Make RAID Device"), self.parent)
+ if isNew:
+ tstr = _("Make RAID Device")
+ else:
+ tstr = _("Edit RAID Device")
+
+ dialog = gtk.Dialog(tstr, self.parent)
gui.addFrame(dialog)
dialog.add_button('gtk-cancel', 2)
dialog.add_button('gtk-ok', 1)