diff options
-rwxr-xr-x | gui.py | 4 | ||||
-rw-r--r-- | iw/autopart_type.py | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -903,7 +903,7 @@ class DetailedMessageWindow(MessageWindow): self.detailedView = xml.get_widget("detailedView") if parent: - self.win.set_transient_for(parent) + self.dialog.set_transient_for(parent) if custom_icon: img = gtk.Image() @@ -919,7 +919,7 @@ class DetailedMessageWindow(MessageWindow): if self.doCustom: defaultchoice = rid-1 if flags.debug and not _("_Debug") in buttons: - self.win.add_button(_("_Debug"), rid) + self.dialog.add_button(_("_Debug"), rid) self.debugRid = rid rid += 1 else: diff --git a/iw/autopart_type.py b/iw/autopart_type.py index 1858e2ed7..3e2097752 100644 --- a/iw/autopart_type.py +++ b/iw/autopart_type.py @@ -241,7 +241,7 @@ class PartitionTypeWindow(InstallWindow): dialog.destroy() if rc != gtk.RESPONSE_CANCEL: - partitioning.partitionObjectsInitialize(self.anaconda) + partitions.partitionObjectsInitialize(self.anaconda) createAllowedDrivesStore(self.diskset.disks, self.partitions.autoClearPartDrives, self.drivelist, |