--- a/src/gtkconv.h Sun Nov 20 22:09:24 2005 +0000 +++ b/src/gtkconv.h Mon Nov 21 00:43:20 2005 +0000 @@ -143,6 +143,7 @@ GtkWidget *toolbar; GaimUnseenState unseen_state; + guint unseen_count; struct { @@ -211,6 +212,21 @@ GaimConversation * gaim_gtk_conversations_get_first_unseen(GaimConversationType type, GaimUnseenState min_state); +/** + * Adds an item to a menu for each conversation of the given type + * with an unseen state greater than or equal to the specified minimum + * state. The menu item will present the conversation to the user + * when activated. + * + * @param menu Menu widget to add items to. + * @param type The type of conversation. + * @param min_state The minimum unseen state. + * @return Number of conversations added to menu. + */ +guint +gaim_gtk_conversations_fill_unseen_menu(GtkWidget *menu, + GaimConversationType type, + GaimUnseenState min_state); /** * Presents a gaim conversation to the user.