~givre/disk-manager/branch1.0

« back to all changes in this revision

Viewing changes to disk-manager/DiskManager/AddWizard.py

  • Committer: Mertens Florent
  • Date: 2007-06-06 12:25:55 UTC
  • Revision ID: flomertens@gmail.com-20070606122555-uztbb0bhjdvwkb17
changes in python-fstab :
* Fix some documentation
* Mounter : parse last dmesg log only if needed
* Fstab : fix addopt & removeopt to really allow multiple options

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
class AddWizard(SimpleGladeApp) :
36
36
    ''' Provide a friendly guy to configure new devices '''
37
37
 
38
 
    def __init__(self, devices = None, parent = None, disk = None, auto = False, log = True) :
 
38
    def __init__(self, devices = None, parent = None, disk = None, auto = False, log = True):
 
39
        ''' Start the guy. Set path to /media/"label" if available.
 
40
            Retun in self.toconf a list of device to configure in the form :
 
41
            - [dev, path] if normal
 
42
            - [dev] if auto configure 
 
43
            Store detected device in CONFIG_FILE'''
39
44
    
40
45
        SimpleGladeApp.__init__(self, GLADEFILE, "dialog_new", domain = PACKAGE)
41
46
        self.dialog_new.set_title("")