Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
This commit is contained in:
@ -46,7 +46,7 @@ def fill_combo(combo, data_list):
|
||||
|
||||
for data in [ item for item in data_list if item ]:
|
||||
store.append(row=[data])
|
||||
|
||||
|
||||
combo.set_model(store)
|
||||
combo.set_text_column(0)
|
||||
completion = gtk.EntryCompletion()
|
||||
@ -89,7 +89,7 @@ class StandardCustomSelector:
|
||||
|
||||
To set up the combo box, specify the active key at creation time,
|
||||
or later (or with custom text) use:
|
||||
type_sel.set_values(i,s)
|
||||
type_sel.set_values(i,s)
|
||||
|
||||
and later, when or before the dialog is closed, do:
|
||||
(i,s) = type_sel.get_values()
|
||||
@ -232,3 +232,4 @@ class StandardCustomSelector:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user