[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src/mediadevice/ipod
From: İsmail Dönmez <ismail () kde ! org>
Date: 2007-02-25 12:20:02
Message-ID: 1172406002.772596.18923.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 637094 by cartman:
correctly set ipod model name, an "x" prefix is needed, code taken from gtkpod
M +4 -1 ipodmediadevice.cpp
--- trunk/extragear/multimedia/amarok/src/mediadevice/ipod/ipodmediadevice.cpp #637093:637094
@@ -352,8 +352,11 @@
int index = id - SET_IPOD_MODEL;
if( m_itdb && m_itdb->device )
{
+ gchar model[PATH_MAX];
+ g_snprintf (model, PATH_MAX, "x%s", table[index].model_number);
+
itdb_device_set_sysinfo( m_itdb->device,
- "ModelNumStr", table[index].model_number );
+ "ModelNumStr", model );
Amarok::StatusBar::instance()->shortMessage(
i18n( "Setting iPod model to %1 GB %2 (x%3)" )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic