~ubuntu-branches/ubuntu/natty/usb-creator/natty-security

« back to all changes in this revision

Viewing changes to usbcreator/misc.py

  • Committer: Bazaar Package Importer
  • Author(s): Evan Dandrea, Harald Sitter, Evan Dandrea, Roderick B. Greening, Steve Langasek
  • Date: 2009-09-08 15:34:58 UTC
  • Revision ID: james.westby@ubuntu.com-20090908153458-iiww2ts02v7qyv7x
Tags: 0.2.5
[ Harald Sitter ]
* Remove settings categories to de-clutter the KDE menu (settings doesn't
  make all that much sense for KDE)

[ Evan Dandrea ]
* Show partition table block devices.
* Fix persistence once more.
* Fail more gracefully when an error occurs while setting up the install
  routine.
* Fully re-enable ISO image support (LP: #422671)
* Add some debugging breadcrumbs.
* Unmount partitions before writing a disk image.
* Clear the boot sector code area and set the boot flag on the partition
  (LP: #425680).

[ Roderick B. Greening ]
* Updated man pages
* Updated licence info in kde frontend modules to GPLv3+
* Bump version in setup.py, kde_about.py, usb-creator-gtk to 0.2.5
* Fix exit button which fails to exit in usb-creator-gtk (on fail or 
  successful install dialog)
* Remove unused get_solid_drive() from kde/frontend.py

[ Steve Langasek ]
* Make sure .ui files are marked as type: gettext/glade in POTFILES.in, so
  that source strings are picked up for translation. LP: #419069.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
# The minimum size, in megabytes a persistence file can be.
23
23
MIN_PERSISTENCE = 128
24
 
CAN_USE, CANNOT_USE, NEED_SPACE = range(3)
 
24
(CAN_USE,     # Obvious.
 
25
 CANNOT_USE,  # The partition or disk is too small for the source image.
 
26
 NEED_SPACE,  # There is not enough free space, but there could be.
 
27
 NEED_FORMAT, # The device has the wrong filesystem type, or the source is a
 
28
              # disk image.
 
29
) = range(4)
25
30
SOURCE_CD, SOURCE_ISO, SOURCE_IMG = range(3)
26
31
 
27
32
def setup_logging():