get rid of highlighting

SVN revision: 34231
This commit is contained in:
titan 2008-04-10 00:46:29 +00:00 committed by titan
parent fe6a9ee87c
commit 168510994b
1 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,12 @@ show_albums(Ewl_Widget *c)
populate_albums(NULL, NULL, NULL);
}
static unsigned int
highlight_cb(void *data, unsigned int row)
{
return 0;
}
static Ewl_Widget *
add_atree(Ewl_Widget *c)
{
@ -32,6 +38,7 @@ add_atree(Ewl_Widget *c)
model = ewl_model_new();
ewl_model_data_fetch_set(model, album_data_fetch);
ewl_model_data_count_set(model, album_data_count);
ewl_model_data_highlight_set(model, highlight_cb);
view = ewl_view_new();
ewl_view_widget_fetch_set(view, album_view_new);