commit 66dc00727798dfdb3c369c855ab65abca5de3e8d Author: Christophe Fergeau <cferg...@mandriva.com> Date: Mon Apr 5 23:43:49 2010 +0200
add enum entry for Stainless iPod Shuffle src/itdb.h | 3 ++- src/itdb_device.c | 1 + tools/generic-callout.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletions(-) --- diff --git a/src/itdb.h b/src/itdb.h index 1266f99..96336c5 100644 --- a/src/itdb.h +++ b/src/itdb.h @@ -251,7 +251,8 @@ typedef enum { ITDB_IPOD_MODEL_SHUFFLE_BLACK, ITDB_IPOD_MODEL_IPHONE_WHITE, ITDB_IPOD_MODEL_IPHONE_BLACK, - ITDB_IPOD_MODEL_SHUFFLE_GOLD + ITDB_IPOD_MODEL_SHUFFLE_GOLD, + ITDB_IPOD_MODEL_SHUFFLE_STAINLESS } Itdb_IpodModel; /** diff --git a/src/itdb_device.c b/src/itdb_device.c index a4d4887..13309ac 100644 --- a/src/itdb_device.c +++ b/src/itdb_device.c @@ -344,6 +344,7 @@ static const gchar *ipod_model_name_table [] = { N_("iPhone (White)"), N_("iPhone (Black)"), N_("Shuffle (Gold)"), + N_("Shuffle (Stainless)"), NULL }; diff --git a/tools/generic-callout.c b/tools/generic-callout.c index 4415eb1..dafbca9 100644 --- a/tools/generic-callout.c +++ b/tools/generic-callout.c @@ -281,6 +281,8 @@ get_color_name (const Itdb_IpodInfo *info) return g_strdup ("purple"); case ITDB_IPOD_MODEL_NANO_YELLOW: return g_strdup ("yellow"); + case ITDB_IPOD_MODEL_SHUFFLE_STAINLESS: + return g_strdup ("stainless"); } g_assert_not_reached (); ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2