| 48 * have titles. If you want to edit a transient |
48 * have titles. If you want to edit a transient |
| 49 * status, set this to FALSE and seed the dialog |
49 * status, set this to FALSE and seed the dialog |
| 50 * with the transient status using the status |
50 * with the transient status using the status |
| 51 * parameter to this function. |
51 * parameter to this function. |
| 52 * @param status If edit is TRUE then this should be a |
52 * @param status If edit is TRUE then this should be a |
| 53 * pointer to the GaimSavedStatus to edit. |
53 * pointer to the PurpleSavedStatus to edit. |
| 54 * If edit is FALSE then this can be NULL, |
54 * If edit is FALSE then this can be NULL, |
| 55 * or you can pass in a saved status to |
55 * or you can pass in a saved status to |
| 56 * seed the initial values of the new status. |
56 * seed the initial values of the new status. |
| 57 */ |
57 */ |
| 58 void pidgin_status_editor_show(gboolean edit, GaimSavedStatus *status); |
58 void pidgin_status_editor_show(gboolean edit, PurpleSavedStatus *status); |
| 59 |
59 |
| 60 /** |
60 /** |
| 61 * Creates a dropdown menu of saved statuses and calls a callback |
61 * Creates a dropdown menu of saved statuses and calls a callback |
| 62 * when one is selected |
62 * when one is selected |
| 63 * |
63 * |
| 64 * @param status The default saved_status to show as 'selected' |
64 * @param status The default saved_status to show as 'selected' |
| 65 * @param callback The callback to call when the selection changes |
65 * @param callback The callback to call when the selection changes |
| 66 * @return The menu widget |
66 * @return The menu widget |
| 67 */ |
67 */ |
| 68 GtkWidget *pidgin_status_menu(GaimSavedStatus *status, GCallback callback); |
68 GtkWidget *pidgin_status_menu(PurpleSavedStatus *status, GCallback callback); |
| 69 |
69 |
| 70 /** |
70 /** |
| 71 * Returns the GTK+ status handle. |
71 * Returns the GTK+ status handle. |
| 72 * |
72 * |
| 73 * @return The handle to the GTK+ status system. |
73 * @return The handle to the GTK+ status system. |