changeset 20644:55b11740897c

Add PURPLE_STATUS_TUNE to status_primitive_map so that it has a name
author Mark Doliner <mark@kingant.net>
date Wed, 26 Sep 2007 06:54:16 +0000
parents cb7d809867ac
children ff4afedf63b5
files libpurple/status.c libpurple/status.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/status.c	Tue Sep 25 09:01:03 2007 +0000
+++ b/libpurple/status.c	Wed Sep 26 06:54:16 2007 +0000
@@ -157,7 +157,8 @@
 	{ PURPLE_STATUS_INVISIBLE,       "invisible",       N_("Invisible")       },
 	{ PURPLE_STATUS_AWAY,            "away",            N_("Away")            },
 	{ PURPLE_STATUS_EXTENDED_AWAY,   "extended_away",   N_("Extended away")   },
-	{ PURPLE_STATUS_MOBILE,          "mobile",          N_("Mobile")          }
+	{ PURPLE_STATUS_MOBILE,          "mobile",          N_("Mobile")          },
+	{ PURPLE_STATUS_TUNE,            "tune",            N_("Listening to music") }
 };
 
 const char *
--- a/libpurple/status.h	Tue Sep 25 09:01:03 2007 +0000
+++ b/libpurple/status.h	Wed Sep 26 06:54:16 2007 +0000
@@ -94,6 +94,10 @@
 /**
  * A primitive defining the basic structure of a status type.
  */
+/*
+ * If you add a value to this enum, make sure you update
+ * the status_primitive_map array in status.c.
+ */
 typedef enum
 {
 	PURPLE_STATUS_UNSET = 0,