diff src/gtksavedstatuses.h @ 12195:d040123d2b69

[gaim-migrate @ 14497] A saved status dropdown. I don't know if it works, because the only way for me to test it right now is through remote X, over 3000 miles away. And I ain't puttin up with that for long. I'm going to check it out when I get home and fix it up locally. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 23 Nov 2005 02:04:59 +0000
parents 51b87da4e9f0
children 465ddcb3e9e8
line wrap: on
line diff
--- a/src/gtksavedstatuses.h	Wed Nov 23 01:13:02 2005 +0000
+++ b/src/gtksavedstatuses.h	Wed Nov 23 02:04:59 2005 +0000
@@ -64,4 +64,13 @@
  */
 void gaim_gtk_status_uninit(void);
 
+/**
+ * Creates a dropdown menu of saved statuses and calls a callback
+ * when one is selected
+ *
+ * @param callback The callback to call when the selection changes
+ * @return         The menu widget
+ */
+GtkWidget *gaim_gtk_status_menu(GaimSavedStatus *status, GCallback callback);
+
 #endif /* _GAIM_GTKSAVEDSTATUSES_H_ */