Rev 566 | Rev 568 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 566 | Rev 567 | ||
---|---|---|---|
Line 186... | Line 186... | ||
186 | args.append(val) |
186 | args.append(val) |
187 | 187 | ||
188 | kw = {} |
188 | kw = {} |
189 | if defopt: |
189 | if defopt: |
190 | kw['default-item'] = choices[defopt][0] |
190 | kw['default-item'] = choices[defopt][0] |
191 | res,data = self.calldlg('--extra-label',button[1], |
191 | res,data = self.calldlg('--ok-label','Change', |
- | 192 | '--extra-label',button[1], |
|
192 | '--extra-button', |
193 | '--extra-button', |
193 | '--menu',text,height,width, |
194 | '--menu',text,height,width, |
194 | str(len(choices)),*args,**kw) |
195 | str(len(choices)),*args,**kw) |
195 | if res == 3: |
196 | if res == 3: |
196 | return button[0] |
197 | return button[0] |