Exemplo n.º 1
0
 def __init__(self, conn):
     cdata = dict(new='new mount', edit='edit mount')
     fields = ['mnt_point', 'fstype', 'mnt_opts', 'dump', 'pass']
     TableEditor.__init__(self,
                          conn,
                          'mounts',
                          'mnt_name',
                          fields,
                          command_data=cdata)
     self.set_size_request(550, 250)
Exemplo n.º 2
0
 def __init__(self, conn):
     cdata = dict(new='new machine', edit='edit a machine')
     fields = ['machine_type', 'kernel', 'profile', 'filesystem']
     TableEditor.__init__(self, conn, 'machines', 'machine', fields, cdata)
     self.set_size_request(550, 200)
     self.set_title('Edit the Machines')
Exemplo n.º 3
0
 def __init__(self, conn):
     TableEditor.__init__(self, conn, 'kernels', 'kernel', [])
     self.set_size_request(150, 200)
Exemplo n.º 4
0
 def __init__(self, conn):
     cdata = dict(new='new machine', edit='edit a machine')
     fields = ['machine_type', 'kernel', 'profile', 'filesystem']
     TableEditor.__init__(self, conn, 'machines', 'machine', fields, cdata)
     self.set_size_request(550, 200)
     self.set_title('Edit the Machines')
Exemplo n.º 5
0
 def __init__(self, conn):
     TableEditor.__init__(self, conn, 'kernels', 'kernel', [])
     self.set_size_request(150, 200)
Exemplo n.º 6
0
 def __init__(self, conn):
     cdata = dict(new='new mount', edit='edit mount')
     fields = ['mnt_point', 'fstype', 'mnt_opts', 'dump', 'pass']
     TableEditor.__init__(self, conn, 'mounts', 'mnt_name', fields, command_data=cdata)
     self.set_size_request(550, 250)
Exemplo n.º 7
0
 def __init__(self, conn):
     cdata = dict(new="new machine", edit="edit a machine")
     fields = ["machine_type", "kernel", "profile", "filesystem"]
     TableEditor.__init__(self, conn, "machines", "machine", fields, cdata)
     self.set_size_request(550, 200)
     self.set_title("Edit the Machines")
Exemplo n.º 8
0
 def __init__(self, conn):
     TableEditor.__init__(self, conn, "kernels", "kernel", [])
     self.set_size_request(150, 200)
Exemplo n.º 9
0
 def __init__(self, conn):
     cdata = dict(new="new mount", edit="edit mount")
     fields = ["mnt_point", "fstype", "mnt_opts", "dump", "pass"]
     TableEditor.__init__(self, conn, "mounts", "mnt_name", fields, command_data=cdata)
     self.set_size_request(550, 250)