comparison pidgin/gtkblist.c @ 15545:82e3cff11243

Perhaps a 22px icon is better in the tooltip
author Sean Egan <seanegan@gmail.com>
date Sun, 04 Feb 2007 10:17:59 +0000
parents 84b3ab83df35
children 29a03d2d2395
comparison
equal deleted inserted replaced
15544:cb6bb41291c8 15545:82e3cff11243
2232 * | | 2232 * | |
2233 * +---- TOOLTIP_BORDER +---- TOOLTIP_BORDER 2233 * +---- TOOLTIP_BORDER +---- TOOLTIP_BORDER
2234 * 2234 *
2235 * 2235 *
2236 */ 2236 */
2237 #define STATUS_SIZE 32 2237 #define STATUS_SIZE 22
2238 #define TOOLTIP_BORDER 12 2238 #define TOOLTIP_BORDER 12
2239 #define SMALL_SPACE 6 2239 #define SMALL_SPACE 6
2240 #define LARGE_SPACE 12 2240 #define LARGE_SPACE 12
2241 #define PRPL_SIZE 16 2241 #define PRPL_SIZE 16
2242 struct tooltip_data { 2242 struct tooltip_data {
3042 const char *protoname = NULL; 3042 const char *protoname = NULL;
3043 struct _pidgin_blist_node *gtknode = node->ui_data; 3043 struct _pidgin_blist_node *gtknode = node->ui_data;
3044 struct _pidgin_blist_node *gtkbuddynode = NULL; 3044 struct _pidgin_blist_node *gtkbuddynode = NULL;
3045 GaimBuddy *buddy = NULL; 3045 GaimBuddy *buddy = NULL;
3046 GaimChat *chat = NULL; 3046 GaimChat *chat = NULL;
3047 GtkIconSize icon_size = gtk_icon_size_from_name((size == PIDGIN_STATUS_ICON_LARGE) ? PIDGIN_ICON_SIZE_TANGO_MEDIUM : 3047 GtkIconSize icon_size = gtk_icon_size_from_name((size == PIDGIN_STATUS_ICON_LARGE) ? PIDGIN_ICON_SIZE_TANGO_SMALL :
3048 PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL); 3048 PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL);
3049 3049
3050 if(GAIM_BLIST_NODE_IS_CONTACT(node)) { 3050 if(GAIM_BLIST_NODE_IS_CONTACT(node)) {
3051 if(!gtknode->contact_expanded) { 3051 if(!gtknode->contact_expanded) {
3052 buddy = gaim_contact_get_priority_buddy((GaimContact*)node); 3052 buddy = gaim_contact_get_priority_buddy((GaimContact*)node);