|
From: Sean E. <sea...@bi...> - 2003-02-17 04:07:29
|
On Sun, 2003-02-16 at 20:42, Joel Smith wrote:
> Oh, I see that now. This is what I get for only testing it with AIM
> :'(.
>
> IRC seems to work a little differently. 'who' is NULL when
> g_show_info_text(.....) is called when looking up an IRC buddy.
>
> Sorry! I guess I have more to work on.
Further, that function is not limited to just showing profiles or away
messages. It's used for search results, and, like, other things too.
Also, the new preferred window title format would be "Sean Egan's User
Info" or something similar, rather than "Gaim - User info for SeanEgn".
We want to put the important thing (the screenname) right at the
begininning of the title, so that you can see it when your taskbar
truncates window titles and stuff.
Finally:
+ char *window_title;
+ char *window_text = "Gaim - Buddy info for ";
va_list ap;
+ window_title = (char *)calloc((strlen(window_text) + strlen(who)
+ 1), sizeof(char));
+ strcat(window_title, window_text);
+ strcat(window_title, who);
should be:
char *window_text = g_strdup_printf("Gaim - Buddy info for %s", who);
-s.
|