Question about tooltip and PurpleNotifyUserInfoEntry

H. Bons H.Bons at student.rug.nl
Fri Jun 29 17:56:58 EDT 2007


I'm not a hardcore coder like you pidgin devs are, but 
isn't this just a matter of string manipulation? If it 
isn't you can just make it like it is now but without 
newlines.

Hylke



On Fri, 29 Jun 2007 14:32:00 -0700
  "Sean Egan" <seanegan at gmail.com> wrote:
> In http://developer.pidgin.im/ticket/252 Hylke has 
>(again) redesigned
> the Buddy List tooltip. Everyone seems to like it
> (tooltip-explained.png is the one you want to look at).
> 
> One of the differences that isn't readily possible at 
>present is that,
> instead of
> 
> Has you: Yes
> Blocked: No
> 
> in the tooltip, Hylke has a single italicized line:
> 
> Has you, Blocked
> 
> I can think of two ways to do this:
> 
> If the value of the PurpleNotifyUserInfoEntry is 'Yes,' 
>append it to
> that line, append it to that line. If it's "No," ignore 
>it. This is a
> heuristic, and heuristics aren't great.
> 
> The other way is to add a new 
>PurpleNotifyUserInfoEntryType (the
> current ones are 'pair', 'break', and 'header') for 
>items with only a
> value. This is the better design, but has the downside 
>of removing
> tooltips from clients that don't update to use it. Or, 
>for instance,
> running Finch 2.0.0 against Finch 2.1.0.
> 
> Is that ok? I'm assuming it is, but I'd love to know 
>what Evan thinks.
> 
> I probably won't do #252 for 2.1.0, but it should be 
>easy to add a new
> UserInfoEntry type before then to allow us to do it in 
>2.1.1
> 
> -s.
> 
> _______________________________________________
> Devel mailing list
> Devel at pidgin.im
> http://pidgin.im/cgi-bin/mailman/listinfo/devel




More information about the Devel mailing list