add dependency step, add service step
This commit is contained in:
@@ -210,6 +210,9 @@ class SoftwarePackageWindow():
|
||||
if self.selection.get() == 'all':
|
||||
for ck in self.opt_chks:
|
||||
ck.configure(state='disable')
|
||||
else:
|
||||
for ck in self.opt_chks:
|
||||
ck.configure(state='normal')
|
||||
|
||||
|
||||
def ok(self):
|
||||
@@ -218,10 +221,16 @@ class SoftwarePackageWindow():
|
||||
for i in range(len(self.group.optional)):
|
||||
# install field, yes or no
|
||||
self.group.optional[i][1] = self.opt_vars[i].get()
|
||||
# clear variables and check buttons
|
||||
self.opt_vars = []
|
||||
self.opt_chks = []
|
||||
self.win.destroy()
|
||||
|
||||
def cancel(self):
|
||||
''' callback function for button cancel '''
|
||||
# clear variables and check buttons
|
||||
self.opt_vars = []
|
||||
self.opt_chks = []
|
||||
self.win.destroy()
|
||||
|
||||
def show(self):
|
||||
|
||||
Reference in New Issue
Block a user