Mercurial > pidgin.yaz
comparison pidgin/gtkimhtml.c @ 23169:88d67b1bb52a
Get rid of the boldness of the bold timestamps.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 22 May 2008 21:19:31 +0000 |
parents | 9f94bf3743c2 |
children | e0bcb8cfda74 ed61297e80c8 acef4202e147 |
comparison
equal
deleted
inserted
replaced
23168:e01b5aa9fc7b | 23169:88d67b1bb52a |
---|---|
5001 int ivalue = 0; | 5001 int ivalue = 0; |
5002 GdkColor *color = NULL; | 5002 GdkColor *color = NULL; |
5003 GObject *obj = G_OBJECT(tag); | 5003 GObject *obj = G_OBJECT(tag); |
5004 gboolean empty = TRUE; | 5004 gboolean empty = TRUE; |
5005 | 5005 |
5006 str += g_snprintf(str, sizeof(buf) - (str - buf), "<font style='"); | 5006 str += g_snprintf(str, sizeof(buf) - (str - buf), "<span style='"); |
5007 | 5007 |
5008 /* Weight */ | 5008 /* Weight */ |
5009 g_object_get(obj, "weight-set", &isset, "weight", &ivalue, NULL); | 5009 g_object_get(obj, "weight-set", &isset, "weight", &ivalue, NULL); |
5010 if (isset) { | 5010 if (isset) { |
5011 const char *weight = ""; | 5011 const char *weight = ""; |
5093 int i; | 5093 int i; |
5094 for (i = 0; props[i]; i++) { | 5094 for (i = 0; props[i]; i++) { |
5095 gboolean set = FALSE; | 5095 gboolean set = FALSE; |
5096 g_object_get(G_OBJECT(tag), props[i], &set, NULL); | 5096 g_object_get(G_OBJECT(tag), props[i], &set, NULL); |
5097 if (set) | 5097 if (set) |
5098 return "</font>"; | 5098 return "</span>"; |
5099 } | 5099 } |
5100 | 5100 |
5101 return ""; | 5101 return ""; |
5102 } | 5102 } |
5103 } | 5103 } |