diff src/protocols/silc/buddy.c @ 12948:563fb4f1e9fc

[gaim-migrate @ 15301] This is the last of my tooltip updates. This hides everything but status and message from non-full tooltips. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 19 Jan 2006 07:21:18 +0000
parents 2e2e1204b2b0
children ec9b92104904
line wrap: on
line diff
--- a/src/protocols/silc/buddy.c	Thu Jan 19 07:16:07 2006 +0000
+++ b/src/protocols/silc/buddy.c	Thu Jan 19 07:21:18 2006 +0000
@@ -1543,38 +1543,42 @@
 	}
 
 	silcgaim_parse_attrs(client_entry->attrs, &moodstr, &statusstr, &contactstr, &langstr, &devicestr, &tzstr, &geostr);
+
+	if (statusstr) {
+		g_string_append_printf(s, "\n<b>%s:</b> %s", _("Message"), statusstr);
+		g_free(statusstr);
+	}
+
+	if (full) {
 		if (moodstr) {
 			g_string_append_printf(s, "\n<b>%s:</b> %s", _("Mood"), moodstr);
 			g_free(moodstr);
 		}
-	if (statusstr) {
-		g_string_append_printf(s, "\n<b>%s:</b> %s", _("Message"), statusstr);
-		g_free(statusstr);
-	}
 
 		if (contactstr) {
 			g_string_append_printf(s, "\n<b>%s:</b> %s", _("Preferred Contact"), contactstr);
 			g_free(contactstr);
 		}
 
-	if (langstr) {
-		g_string_append_printf(s, "\n<b>%s:</b> %s", _("Preferred Language"), langstr);
-		g_free(langstr);
-	}
+		if (langstr) {
+			g_string_append_printf(s, "\n<b>%s:</b> %s", _("Preferred Language"), langstr);
+			g_free(langstr);
+		}
+
+		if (devicestr) {
+			g_string_append_printf(s, "\n<b>%s:</b> %s", _("Device"), devicestr);
+			g_free(devicestr);
+		}
 
-	if (devicestr) {
-		g_string_append_printf(s, "\n<b>%s:</b> %s", _("Device"), devicestr);
-		g_free(devicestr);
-	}
+		if (tzstr) {
+			g_string_append_printf(s, "\n<b>%s:</b> %s", _("Timezone"), tzstr);
+			g_free(tzstr);
+		}
 
-	if (tzstr) {
-		g_string_append_printf(s, "\n<b>%s:</b> %s", _("Timezone"), tzstr);
-		g_free(tzstr);
-	}
-
-	if (geostr) {
-		g_string_append_printf(s, "\n<b>%s:</b> %s", _("Geolocation"), geostr);
-		g_free(geostr);
+		if (geostr) {
+			g_string_append_printf(s, "\n<b>%s:</b> %s", _("Geolocation"), geostr);
+			g_free(geostr);
+		}
 	}
 
 	buf = g_string_free(s, FALSE);