diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-28 20:12:18 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-28 20:12:18 +0000 |
commit | 64e14c1984b08bfeefae70ee44fb9efe52e33f41 (patch) | |
tree | d209e84dd4b087a525e232b9d1d2f41f30e567c1 /iw/raid_dialog_gui.py | |
parent | b8bf4a92d4e0dcc0e11f3c014a5c76d506c28f31 (diff) | |
download | anaconda-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.py | 7 |
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) |