Mercurial > pidgin.yaz
diff libpurple/notify.h @ 23207:84693a70ea3a
Added prepend functions for notify_user_info section headers and breaks
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Tue, 27 May 2008 01:19:07 +0000 |
parents | e0bcb8cfda74 |
children | 3dc1bc92b170 |
line wrap: on
line diff
--- a/libpurple/notify.h Mon May 26 14:30:00 2008 +0000 +++ b/libpurple/notify.h Tue May 27 01:19:07 2008 +0000 @@ -577,13 +577,28 @@ void purple_notify_user_info_add_section_break(PurpleNotifyUserInfo *user_info); /** + * Prepend a section break. A UI might display this as a horizontal line. + * + * @param user_info The PurpleNotifyUserInfo + */ +void purple_notify_user_info_prepend_section_break(PurpleNotifyUserInfo *user_info); + +/** * Add a section header. A UI might display this in a different font from other text. * * @param user_info The PurpleNotifyUserInfo * @param label The name of the section */ void purple_notify_user_info_add_section_header(PurpleNotifyUserInfo *user_info, const char *label); - + +/** + * Prepend a section header. A UI might display this in a different font from other text. + * + * @param user_info The PurpleNotifyUserInfo + * @param label The name of the section + */ +void purple_notify_user_info_prepend_section_header(PurpleNotifyUserInfo *user_info, const char *label); + /** * Remove the last item which was added to a PurpleNotifyUserInfo. This could be used to remove a section header which is not needed. */