[GSoC 2012] Planned API changes - RFC
tomkiewicz.groups at gmail.com
Sun Jul 8 06:18:35 EDT 2012
>>>>> 3) ability to change labels for "username"
>>>> There's currently the UI hint for what should be entered into the
>>>> username box via the prpl_info->get_account_text_table(), is this not
>>> I missed that, thanks. It's not used in buddy adding dialog, but I can fix this.
>> Update: there is a small problem, that makes me unable to solve it. In
>> buddy list dialog there is a focus on username field, so login_label
>> hint won't display after dialog shows up. Any ideas?
> I have just solved it  - just added login_label to username label
> with _("Buddy's _username (%s):"). Better alternative would be just
> displaying only login_label by _("%s:"), but we would have to remove
> "..." from ends of all login_labels in protocol plugins - should I
> done it this way. I have also done hidding invidation message for
> protocols, which doesn't support it.
I've implemented better solution  - added another string to
protocol's text table, for buddy usernames. Can someone review it?
- prpl API extended with purple_prpl_get_text, to easily lookup for
- added buddy_username_label string to some protocols
- use buddy_username_label as label in buddy adding dialog
- hide invitation message input (instead of disabling it), if protocol
doesn't support it
More information about the Devel