Mercurial > pidgin-audacious
diff pidgin-audacious.c @ 4:19782faf1f00 2.0.0
- add a msn alias patch to the repository.
- clean up for 2.0.0 release.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sun, 02 Sep 2007 13:45:07 +0900 |
parents | f1dc959e4706 |
children | 76f3cd9915c5 |
line wrap: on
line diff
--- a/pidgin-audacious.c Fri Jun 29 01:42:55 2007 +0900 +++ b/pidgin-audacious.c Sun Sep 02 13:45:07 2007 +0900 @@ -78,14 +78,6 @@ g_clear_error(&error); return session; -#if 0 - if (audacious_remote_is_running(session)) { - return session; - } - else { - return NULL; - } -#endif } static gboolean @@ -93,7 +85,6 @@ { gint playpos = 0; gchar *song = NULL, *tmp = NULL; -// DBusGProxy *session = get_dbus_proxy(); gboolean rv = TRUE; size_t dummy; @@ -292,7 +283,6 @@ key = g_strdup_printf("%s %s", account->username, account->protocol_id); /* retrieve current alias */ -// current = purple_url_decode(purple_account_get_alias(account)); current = purple_account_get_alias(account); if(current == NULL || strlen(current) == 0) { aud_error("couldn't get current alias\n"); @@ -307,7 +297,6 @@ /* if current alias differs from pushed_alias or contains token, replace seed with current. */ if( (pushed && g_ascii_strcasecmp(current, pushed)) || strstr(current, SONG_TOKEN) ) { g_hash_table_replace(seed_alias, g_strdup(key), g_strdup(current)); -// g_hash_table_replace(pushed_alias, g_strdup(key), g_strdup(current)); //XXX should do? } /* construct new status message */ @@ -491,7 +480,7 @@ PURPLE_PRIORITY_DEFAULT, /**< priority */ PIDGINAUD_PLUGIN_ID, /**< id */ "Pidgin-Audacious", /**< name */ - "2.0.0d4", /**< version */ + "2.0.0", /**< version */ "Automatically updates your Pidgin status info with the currently " "playing music in Audacious.", /** summary */ "Automatically updates your Pidgin status info with the currently "