void itemview_select_item (itemPtr item) { ItemViewPrivate *ivp = itemview->priv; ivp->needsHTMLViewUpdate = TRUE; item_list_view_select (ivp->itemListView, item); htmlview_select_item (item); if (item) enclosure_list_view_load (ivp->enclosureView, item); else enclosure_list_view_hide (ivp->enclosureView); }
void itemview_select_item (itemPtr item) { ItemViewPrivate *ivp = itemview->priv; /* Enforce single item mode as we currently know no other way to select a single item... */ itemview_set_mode (ITEMVIEW_SINGLE_ITEM); ivp->needsHTMLViewUpdate = TRUE; ivp->browsing = FALSE; item_list_view_select (ivp->itemListView, item); htmlview_select_item (item); if (item) enclosure_list_view_load (ivp->enclosureView, item); else enclosure_list_view_hide (ivp->enclosureView); item_history_add (item->id); }