2 commits - liveusb/creator.py liveusb/gui.py

Luke Macken lmacken at fedoraproject.org
Fri Aug 28 01:18:17 UTC 2009


 liveusb/creator.py |    5 ++---
 liveusb/gui.py     |    5 ++++-
 2 files changed, 6 insertions(+), 4 deletions(-)

New commits:
commit facd0e0c17f16bd1a6d1325d4d2e36c54a61209c
Author: Luke Macken <lmacken at redhat.com>
Date:   Thu Aug 27 21:15:36 2009 -0400

    Fix a bug with the overlay size on sticks with not much free space.

diff --git a/liveusb/gui.py b/liveusb/gui.py
index 22d8359..e8a97ef 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -368,6 +368,8 @@ class LiveUSBDialog(QtGui.QDialog, LiveUSBInterface):
 
         freespace -= 1 # Don't fill the device 100%
 
+        if freespace < 0:
+            freespace = 0
         if freespace < current_overlay:
             self.overlaySlider.setValue(freespace)
             self.live.overlay = self.overlaySlider.value()


commit 8b5223d0d55477dfd90f285836463a0892b83eba
Author: Luke Macken <lmacken at redhat.com>
Date:   Thu Aug 27 21:15:18 2009 -0400

    Update copyright

diff --git a/liveusb/creator.py b/liveusb/creator.py
index 6bb88d7..375d581 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -1,6 +1,7 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright © 2008  Red Hat, Inc. All rights reserved.
+# Copyright © 2008-2009  Red Hat, Inc. All rights reserved.
+# Copyright © 2008-2009  Luke Macken <lmacken at redhat.com>
 #
 # This copyrighted material is made available to anyone wishing to use, modify,
 # copy, or redistribute it subject to the terms and conditions of the GNU
@@ -14,8 +15,6 @@
 # incorporated in the source code or documentation are not subject to the GNU
 # General Public License and may only be used or replicated with the express
 # permission of Red Hat, Inc.
-#
-# Author(s): Luke Macken <lmacken at redhat.com>
 
 """
 Our main LiveUSBCreator module.
diff --git a/liveusb/gui.py b/liveusb/gui.py
index e277278..22d8359 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -1,6 +1,7 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright © 2008  Red Hat, Inc. All rights reserved.
+# Copyright © 2008-2009  Red Hat, Inc. All rights reserved.
+# Copyright © 2008-2009  Luke Macken <lmacken at redhat.com>
 # Copyright © 2008  Kushal Das <kushal at fedoraproject.org>
 #
 # This copyrighted material is made available to anyone wishing to use, modify,




More information about the liveusb-creator mailing list