# HG changeset patch # User Eric Warmenhoven # Date 974513827 0 # Node ID 46c10fa4e55778fa1063b530b3020d6bb551a179 # Parent 7aabbbaae829775492dd2a0e7af1fd8122ec1586 [gaim-migrate @ 1114] update the tooltip on signon committer: Tailor Script diff -r 7aabbbaae829 -r 46c10fa4e557 src/gnome_applet_mgr.c --- a/src/gnome_applet_mgr.c Fri Nov 17 22:45:31 2000 +0000 +++ b/src/gnome_applet_mgr.c Sat Nov 18 02:17:07 2000 +0000 @@ -110,6 +110,8 @@ static gboolean update_applet(gboolean force_update){ static enum gaim_user_states old_user_status = offline; + char buf[BUF_LONG]; + GSList *c = connections; if( MRI_user_status != old_user_status || force_update) { @@ -133,6 +135,13 @@ icon_online_pm, icon_online_bm ); gtk_label_set( GTK_LABEL(status_label), _MSG_ONLINE_ ); + g_snprintf(buf, sizeof buf, "Online: "); + while (c) { + strcat(buf, ((struct gaim_connection *)c->data)->username); + c = g_slist_next(c); + if (c) strcat(buf, ", "); + } + applet_set_tooltips(buf); break; case away: gtk_pixmap_set( GTK_PIXMAP(icon),