• Andreas J. Guelzow 's avatar
    Add option to sheet object lists and combos to enter values rather than index. [#629333] · 14f1280a
    Andreas J. Guelzow authored
    2010-10-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
    
    	* src/commands.h (cmd_so_set_links): add argument
    	* src/commands.c (cmd_so_set_links): add argument
    	(cmd_so_set_links_redo): handle output ttpe
    	* src/sheet-object-widget.h
    	(sheet_widget_list_base_set_result_type): new
    	(sheet_widget_list_base_result_type_is_index): new
    	* src/sheet-object-widget.c
    	(sheet_widget_list_base_set_result_type): new
    	(sheet_widget_list_base_result_type_is_index): new
    	(sheet_widget_list_base_set_selection): consider swl->result_as_index
    	(sheet_widget_list_base_set_selection_value): new
    	(sheet_widget_list_base_init): initialize swl->result_as_index
    
    2010-10-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>
    
    	* so-list.glade: add radio buttons
    	* dialog-so-list.c (cb_so_list_response): handle as-value radios
    	(so_list_init): set up as-value radios
    14f1280a
sheet-object-widget.h 4.38 KB