Mercurial > pidgin
comparison plugins/ticker/ticker.c @ 5234:890b29f00b68
[gaim-migrate @ 5604]
Chats in the buddy list!
You can now put chat rooms in your buddy list, and double-click them to join
them, instead of having to do all that typing. I'm eventually gonna add
auto-join support, so that ugly hack involving pouncing can go away.
Someone should make some new artwork so we don't have 2 + icons next to
each other in the menus.
This also has some fixes to let gaim compile again, after the renaming of
the buddy list files.
This also fixes the problem with offline buddies not showing up in the list
sometimes for accounts that didn't log in at startup.
This probably fixes other stuff, but I can't remember any of it off the top
of my head.
I'm going to stop typing and let people play with this now.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 26 Apr 2003 20:30:43 +0000 |
parents | fefad67de2c7 |
children | f82c251c8300 |
comparison
equal
deleted
inserted
replaced
5233:202105dbed8f | 5234:890b29f00b68 |
---|---|
28 #include <string.h> | 28 #include <string.h> |
29 #include <stdlib.h> | 29 #include <stdlib.h> |
30 #include "gaim.h" | 30 #include "gaim.h" |
31 #include "prpl.h" | 31 #include "prpl.h" |
32 #include "gtkplugin.h" | 32 #include "gtkplugin.h" |
33 #include "list.h" | 33 #include "blist.h" |
34 #include "gtklist.h" | 34 #include "gtkblist.h" |
35 #ifdef _WIN32 | 35 #ifdef _WIN32 |
36 #include "win32dep.h" | 36 #include "win32dep.h" |
37 #endif | 37 #endif |
38 | 38 |
39 #define TICKER_PLUGIN_ID "gtk-ticker" | 39 #define TICKER_PLUGIN_ID "gtk-ticker" |
109 return; | 109 return; |
110 | 110 |
111 if(!td->icon) | 111 if(!td->icon) |
112 td->icon = gtk_image_new(); | 112 td->icon = gtk_image_new(); |
113 | 113 |
114 pixbuf = gaim_gtk_blist_get_status_icon(b, GAIM_STATUS_ICON_SMALL); | 114 pixbuf = gaim_gtk_blist_get_status_icon((GaimBlistNode*)b, |
115 GAIM_STATUS_ICON_SMALL); | |
115 gtk_image_set_from_pixbuf(GTK_IMAGE(td->icon), pixbuf); | 116 gtk_image_set_from_pixbuf(GTK_IMAGE(td->icon), pixbuf); |
116 g_object_unref(G_OBJECT(pixbuf)); | 117 g_object_unref(G_OBJECT(pixbuf)); |
117 } | 118 } |
118 | 119 |
119 static void buddy_ticker_add_buddy(struct buddy *b) { | 120 static void buddy_ticker_add_buddy(struct buddy *b) { |