| 131 case online: |
133 case online: |
| 132 gtk_pixmap_set( GTK_PIXMAP(icon), |
134 gtk_pixmap_set( GTK_PIXMAP(icon), |
| 133 icon_online_pm, |
135 icon_online_pm, |
| 134 icon_online_bm ); |
136 icon_online_bm ); |
| 135 gtk_label_set( GTK_LABEL(status_label), _MSG_ONLINE_ ); |
137 gtk_label_set( GTK_LABEL(status_label), _MSG_ONLINE_ ); |
| |
138 g_snprintf(buf, sizeof buf, "Online: "); |
| |
139 while (c) { |
| |
140 strcat(buf, ((struct gaim_connection *)c->data)->username); |
| |
141 c = g_slist_next(c); |
| |
142 if (c) strcat(buf, ", "); |
| |
143 } |
| |
144 applet_set_tooltips(buf); |
| 136 break; |
145 break; |
| 137 case away: |
146 case away: |
| 138 gtk_pixmap_set( GTK_PIXMAP(icon), |
147 gtk_pixmap_set( GTK_PIXMAP(icon), |
| 139 icon_online_pm, |
148 icon_online_pm, |
| 140 icon_online_bm ); |
149 icon_online_bm ); |