comparison src/gtksavedstatuses.h @ 13175:488619ad7ed5

[gaim-migrate @ 15538] If you're not using a saved status and you select "New..." in the gtkstatusbox then the new status dialog will be seeded with your current message and stuff. rlaager told me to do this. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 08 Feb 2006 05:36:13 +0000
parents 5efbb0162f86
children
comparison
equal deleted inserted replaced
13174:e29845c34565 13175:488619ad7ed5
40 40
41 /** 41 /**
42 * Shows a status editor (used for adding a new saved status or 42 * Shows a status editor (used for adding a new saved status or
43 * editing an already existing saved status). 43 * editing an already existing saved status).
44 * 44 *
45 * @param status The saved status to edit, or @c NULL if you 45 * @param edit TRUE if we want to edit an existing saved
46 * want to add a new saved status. 46 * status or FALSE to create a new one. You
47 * can not edit transient statuses--they don't
48 * have titles. If you want to edit a transient
49 * status, set this to FALSE and seed the dialog
50 * with the transient status using the status
51 * parameter to this function.
52 * @param status If edit is TRUE then this should be a
53 * pointer to the GaimSavedStatus to edit.
54 * If edit is FALSE then this can be NULL,
55 * or you can pass in a saved status to
56 * seed the initial values of the new status.
47 */ 57 */
48 void gaim_gtk_status_editor_show(GaimSavedStatus *status); 58 void gaim_gtk_status_editor_show(gboolean edit, GaimSavedStatus *status);
49 59
50 /** 60 /**
51 * Creates a dropdown menu of saved statuses and calls a callback 61 * Creates a dropdown menu of saved statuses and calls a callback
52 * when one is selected 62 * when one is selected
53 * 63 *