예제 #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)
예제 #2
0
 def __init__(self, conn):
     TableEditor.__init__(self, conn, 'kernels', 'kernel', [])
     self.set_size_request(150, 200)
예제 #3
0
 def __init__(self, conn):
     TableEditor.__init__(self, conn, 'kernels', 'kernel', [])
     self.set_size_request(150, 200)
예제 #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')
예제 #5
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)
예제 #6
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')
예제 #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")
예제 #8
0
 def __init__(self, conn):
     TableEditor.__init__(self, conn, "kernels", "kernel", [])
     self.set_size_request(150, 200)
예제 #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)