diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-08-11 22:20:18 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-08-11 22:20:18 +0000 |
commit | 1d535545dd10d0205864198abe0818a9fafdf32a (patch) | |
tree | f1c6319bd9ec7905b837482af7e37dad389f3d29 /iw/raid_dialog_gui.py | |
parent | 6265eae9d57764df656b7b3f8d45a274d50a918f (diff) | |
download | anaconda-1d535545dd10d0205864198abe0818a9fafdf32a.tar.gz anaconda-1d535545dd10d0205864198abe0818a9fafdf32a.tar.xz anaconda-1d535545dd10d0205864198abe0818a9fafdf32a.zip |
convert from GtkCombo to GtkComboBoxEntry
although it somehow seems like crackrock that the only way to get the
current entered text is by doing cb.get_children()[0].get_text()....
Diffstat (limited to 'iw/raid_dialog_gui.py')
-rw-r--r-- | iw/raid_dialog_gui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py index 533907584..980e253e5 100644 --- a/iw/raid_dialog_gui.py +++ b/iw/raid_dialog_gui.py @@ -136,7 +136,7 @@ class RaidEditor: request.fstype = filesystem if request.fstype.isMountable(): - request.mountpoint = self.mountCombo.entry.get_text() + request.mountpoint = self.mountCombo.get_children()[0].get_text() else: request.mountpoint = None @@ -200,7 +200,7 @@ class RaidEditor: request.fstype = origfstype if request.fstype.isMountable(): - request.mountpoint = self.mountCombo.entry.get_text() + request.mountpoint = self.mountCombo.get_children()[0].get_text() else: request.mountpoint = None @@ -282,7 +282,7 @@ class RaidEditor: lbl = createAlignedLabel(_("_Mount Point:")) maintable.attach(lbl, 0, 1, row, row + 1) self.mountCombo = createMountPointCombo(origrequest) - lbl.set_mnemonic_widget(self.mountCombo.entry) + lbl.set_mnemonic_widget(self.mountCombo) maintable.attach(self.mountCombo, 1, 2, row, row + 1) row = row + 1 |