MokoSearchBar and a method to clear categories

Holger Freyther zecke at selfish.org
Thu Aug 30 12:57:08 CEST 2007


Hi,

I see MokoSearchBar has insert_category, _prepend_category and  
remove_category. As we use a GtkComboBox with a GtkListStore as model  
what about providing a _clear_categories method as well? Also would  
it make sense to offer a way to use a different model for the  
combobox? E

E.g. the following call could be the implementation:
	gtk_list_store_clear (GTK_LIST_STORE (
							gtk_combo_box_get_model (
									GTK_COMBO_BOX (view->category_combo))));


z.



More information about the framework-devel mailing list