diff options
author | Mike Fulbright <msf@redhat.com> | 2002-07-12 20:44:30 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-07-12 20:44:30 +0000 |
commit | 1a8a127ef6103e623d9a6678ec7164c465973733 (patch) | |
tree | d0f6c882442d1846c2331c1ff7da41f0390c735e /autopart.py | |
parent | ea950814e6ca36cf238e1f732579027329e90bcb (diff) | |
download | anaconda-1a8a127ef6103e623d9a6678ec7164c465973733.tar.gz anaconda-1a8a127ef6103e623d9a6678ec7164c465973733.tar.xz anaconda-1a8a127ef6103e623d9a6678ec7164c465973733.zip |
fix icon in some dialogs
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/autopart.py b/autopart.py index 7f0755461..517aa1178 100644 --- a/autopart.py +++ b/autopart.py @@ -953,7 +953,8 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch): _("Unable to locate partition %s to use " "for %s.\n\n" "Press 'OK' to reboot your system.") - % (request.device, request.mountpoint)) + % (request.device, request.mountpoint), + custom_icon='error') sys.exit(0) # now go through and set things from the request to the @@ -984,7 +985,7 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch): _("The following errors occurred with your " "partitioning:\n\n%s\n\n" "Press 'OK' to reboot your system.") % - (errors,)) + (errors,), custom_icon='error') try: doPartitioning(diskset, partitions, doRefresh = 0) @@ -992,7 +993,8 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch): if not isKickstart: intf.messageWindow(_("Warnings During Automatic Partitioning"), _("Following warnings occurred during automatic " - "partitioning:\n\n%s") % (msg.value,)) + "partitioning:\n\n%s") % (msg.value,), + custom_icon='warning') else: log("WARNING: %s" % (msg.value)) except PartitioningError, msg: @@ -1006,7 +1008,7 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch): extra = _("\n\nPress 'OK' to reboot your system.") intf.messageWindow(_("Error Partitioning"), _("Could not allocate requested partitions: \n\n" - "%s.%s") % (msg.value, extra)) + "%s.%s") % (msg.value, extra), custom_icon='error') if isKickstart: @@ -1028,7 +1030,8 @@ def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch): "You can choose a different automatic " "partitioning option, or click 'Back' " "to select manual partitioning.\n\n" - "Press 'OK' to continue.") % (errortxt)) + "Press 'OK' to continue.") % (errortxt), + custom_icon='error') return DISPATCH_BACK def autoCreatePartitionRequests(autoreq): |