Changeset d8acfd3


Ignore:
Timestamp:
2010-05-09T23:23:34Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ca0981a
Parents:
bda2975
Message:

Purple lists mix up key and value; key == what the user sees, *value* is
what the module understands. This should hopefully resolve QQ issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    rbda2975 rd8acfd3  
    141141                        {
    142142                                PurpleKeyValuePair *kv = io->data;
    143                                 opts = g_slist_append( opts, kv->key );
    144                                 g_string_append_printf( help, "%s, ", kv->key );
     143                                opts = g_slist_append( opts, kv->value );
     144                                if( strcmp( kv->value, kv->key ) != 0 )
     145                                        g_string_append_printf( help, "%s (%s), ", kv->value, kv->key );
     146                                else
     147                                        g_string_append_printf( help, "%s, ", kv->value );
    145148                        }
    146149                        g_string_truncate( help, help->len - 2 );
Note: See TracChangeset for help on using the changeset viewer.