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)
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')
def __init__(self, conn): TableEditor.__init__(self, conn, 'kernels', 'kernel', []) self.set_size_request(150, 200)
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")
def __init__(self, conn): TableEditor.__init__(self, conn, "kernels", "kernel", []) self.set_size_request(150, 200)
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)