Rev 4340 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4340 | Rev 4341 | ||
---|---|---|---|
Line 165... | Line 165... | ||
165 | 165 | ||
166 | retval = grid.runOnce() |
166 | retval = grid.runOnce() |
167 | 167 | ||
168 | return (buttonbar.buttonPressed(retval), listbox.current()) |
168 | return (buttonbar.buttonPressed(retval), listbox.current()) |
169 | elif (dialog): |
169 | elif (dialog): |
- | 170 | if (width < 35): |
|
- | 171 | width = 35 |
|
- | 172 | ||
170 | args = [] |
173 | args = [] |
171 | cnt = 0 |
174 | cnt = 0 |
172 | for option in options: |
175 | for option in options: |
173 | args.append(str(cnt + 1)) |
176 | args.append(str(cnt + 1)) |
174 | args.append(option) |
177 | args.append(option) |