Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   If the filesystem doesn't support resize, there's no resizesb (#627153). (http://www.linux-archive.org/debian-user/425040-if-filesystem-doesnt-support-resize-theres-no-resizesb-627153-a.html)

Chris Lumens 09-09-2010 08:45 PM

If the filesystem doesn't support resize, there's no resizesb (#627153).
 
---
pyanaconda/iw/partition_ui_helpers_gui.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/iw/partition_ui_helpers_gui.py b/pyanaconda/iw/partition_ui_helpers_gui.py
index d7458b3..dafc837 100644
--- a/pyanaconda/iw/partition_ui_helpers_gui.py
+++ b/pyanaconda/iw/partition_ui_helpers_gui.py
@@ -234,8 +234,12 @@ def mountptchangeCB(widget, fstypecombo):

def resizeOptionCB(widget, data):
(formatcb, resizesb) = data
- formatcb.set_sensitive(not widget.get_active())
- resizesb.set_sensitive(widget.get_active())
+
+ if formatcb:
+ formatcb.set_sensitive(not widget.get_active())
+
+ if resizesb:
+ resizesb.set_sensitive(widget.get_active())

def formatOptionResizeCB(widget, data):
(resizecb, resizesb, fmt) = data
--
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 11:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.