diff 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
line wrap: on
line diff
--- a/src/gtksavedstatuses.h	Wed Feb 08 05:07:43 2006 +0000
+++ b/src/gtksavedstatuses.h	Wed Feb 08 05:36:13 2006 +0000
@@ -42,10 +42,20 @@
  * Shows a status editor (used for adding a new saved status or
  * editing an already existing saved status).
  *
- * @param status The saved status to edit, or @c NULL if you
- *               want to add a new saved status.
+ * @param edit   TRUE if we want to edit an existing saved
+ *               status or FALSE to create a new one.  You
+ *               can not edit transient statuses--they don't
+ *               have titles.  If you want to edit a transient
+ *               status, set this to FALSE and seed the dialog
+ *               with the transient status using the status
+ *               parameter to this function.
+ * @param status If edit is TRUE then this should be a
+ *               pointer to the GaimSavedStatus to edit.
+ *               If edit is FALSE then this can be NULL,
+ *               or you can pass in a saved status to
+ *               seed the initial values of the new status.
  */
-void gaim_gtk_status_editor_show(GaimSavedStatus *status);
+void gaim_gtk_status_editor_show(gboolean edit, GaimSavedStatus *status);
 
 /**
  * Creates a dropdown menu of saved statuses and calls a callback