Mercurial > pidgin.yaz
comparison src/away.c @ 780:c714def9cebb
[gaim-migrate @ 790]
You may be a geek if...
You've ever used a computer on Friday, Saturday and Sunday of the
same weekend.
You find yourself interrupting computer store salesman to correct
something he said.
The first thing you notice when walking in a business is their
computer system. ...and offer advice on how you would change it.
You've ever mounted a magnetic tape reel.
You own any shareware.
You know more IP addresses than phone numbers.
You've ever accidentally dialed an IP address.
Your friends use you as tech support.
You've ever named a computer.
You have your local computer store on speed dial.
You can't carry on a conversation without talking about computers.
Co-workers have to E-mail you about the fire alarm to get you out of
the building.
You've ever found "stray" diskettes when doing laundry.
Your computer has it's own phone line - but your teenager doesn't.
You check the national weather service web page for current weather
conditions (rather than look out the window).
You know more URLs than street addresses.
Your pet has a web page.
You get really excited when Yahoo adds your link.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 29 Aug 2000 03:59:01 +0000 |
parents | 5a908dd5cfc4 |
children | 02250312c02d |
comparison
equal
deleted
inserted
replaced
779:1823a4af82d3 | 780:c714def9cebb |
---|---|
60 imaway=NULL; | 60 imaway=NULL; |
61 } | 61 } |
62 | 62 |
63 serv_set_away(NULL); | 63 serv_set_away(NULL); |
64 awaymessage = NULL; | 64 awaymessage = NULL; |
65 #ifdef GAIM_PLUGINS | 65 plugin_event(event_back, 0, 0, 0); |
66 { | |
67 GList *c = callbacks; | |
68 struct gaim_callback *g; | |
69 void (*function)(void *); | |
70 while (c) { | |
71 g = (struct gaim_callback *)c->data; | |
72 if (g->event == event_back && g->function != NULL) { | |
73 function = g->function; | |
74 (*function)(g->data); | |
75 } | |
76 c = c->next; | |
77 } | |
78 } | |
79 #endif | |
80 } | 66 } |
81 | 67 |
82 void do_away_message(GtkWidget *w, struct away_message *a) | 68 void do_away_message(GtkWidget *w, struct away_message *a) |
83 { | 69 { |
84 GtkWidget *back; | 70 GtkWidget *back; |
174 strcpy(buf2, awaymessage->message); | 160 strcpy(buf2, awaymessage->message); |
175 escape_text(buf2); | 161 escape_text(buf2); |
176 serv_set_away(buf2); | 162 serv_set_away(buf2); |
177 g_free(buf2); | 163 g_free(buf2); |
178 gtk_widget_show(imaway); | 164 gtk_widget_show(imaway); |
179 #ifdef GAIM_PLUGINS | 165 plugin_event(event_away, 0, 0, 0); |
180 { | |
181 GList *c = callbacks; | |
182 struct gaim_callback *g; | |
183 void (*function)(void *); | |
184 while (c) { | |
185 g = (struct gaim_callback *)c->data; | |
186 if (g->event == event_away && g->function != NULL) { | |
187 function = g->function; | |
188 (*function)(g->data); | |
189 } | |
190 c = c->next; | |
191 } | |
192 } | |
193 #endif | |
194 } | 166 } |
195 | 167 |
196 void rem_away_mess(GtkWidget *w, struct away_message *a) | 168 void rem_away_mess(GtkWidget *w, struct away_message *a) |
197 { | 169 { |
198 #ifdef USE_APPLET | 170 #ifdef USE_APPLET |