FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux User Repository

 
 
LinkBack Thread Tools
 
Old 06-09-2010, 06:52 PM
"Brian C. Lane"
 
Default Properly rescan storage with Reset in partition GUI (#595659)

Temporarily reset the partition type when rescanning so that
the original settings will be discovered when hitting 'reset'
in the partition dialog.

Related: rhbz#595659
---
iw/partition_gui.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 4ede78d..18da08d 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -1546,7 +1546,12 @@ class PartitionWindow(InstallWindow):
return

self.stripeGraph.shutDown()
+ # temporarily unset storage.clearPartType so that all devices will be
+ # found during storage reset
+ clearPartType = self.storage.clearPartType
+ self.storage.clearPartType = None
self.storage.reset()
+ self.storage.clearPartType = clearPartType
self.tree.clear()
self.populate()

--
1.7.0.1

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

Thread Tools




All times are GMT. The time now is 02:59 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org