Mercurial > pidgin
comparison libpurple/savedstatuses.h @ 18111:02f39842d28b
fixes #590 by allowing one to use the delete key to delete transient status,
also introduced signals to repopulate the status lists when the statuses
are added/deleted/modified
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Sun, 17 Jun 2007 18:03:03 +0000 |
parents | b449dc6b8a20 |
children | 09eb621782bc |
comparison
equal
deleted
inserted
replaced
18110:463aba76c5b6 | 18111:02f39842d28b |
---|---|
147 * with the given title. | 147 * with the given title. |
148 */ | 148 */ |
149 gboolean purple_savedstatus_delete(const char *title); | 149 gboolean purple_savedstatus_delete(const char *title); |
150 | 150 |
151 /** | 151 /** |
152 * Delete a saved status. This removes the saved status from the list | |
153 * of saved statuses, and writes the revised list to status.xml. | |
154 * | |
155 * @param saved_status the status to delete, the pointer is invalid after | |
156 * the call | |
157 * | |
158 */ | |
159 void purple_savedstatus_delete_by_status(PurpleSavedStatus *saved_status); | |
160 | |
161 /** | |
152 * Returns all saved statuses. | 162 * Returns all saved statuses. |
153 * | 163 * |
154 * @return A list of saved statuses. | 164 * @return A list of saved statuses. |
155 */ | 165 */ |
156 const GList *purple_savedstatuses_get_all(void); | 166 const GList *purple_savedstatuses_get_all(void); |