Mercurial > pidgin.yaz
comparison src/away.c @ 6019:272c761c52e3
[gaim-migrate @ 6469]
So Decklin sent me a patch to fix the problem with setting profiles, and then
later that day, before I got a shot at it, KingAnt fixed it himself. But
Decklin's fix is better, so here it is, hand-merged with love. KingAnt also
points out that Decklin Foster is a cool name.
Decklin also realized (and fixed) that we were initializing static protocols
after importing prefs, causing the import to fail. Thanks, Decklin.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 05 Jul 2003 01:49:07 +0000 |
parents | 059d95c67cda |
children | dc42b27101c0 |
comparison
equal
deleted
inserted
replaced
6018:d4caf585f6ff | 6019:272c761c52e3 |
---|---|
206 GtkWidget *awaytext; | 206 GtkWidget *awaytext; |
207 GtkWidget *sw; | 207 GtkWidget *sw; |
208 GtkWidget *vbox; | 208 GtkWidget *vbox; |
209 GtkTreeViewColumn *column; | 209 GtkTreeViewColumn *column; |
210 GtkCellRenderer *renderer; | 210 GtkCellRenderer *renderer; |
211 char *buf2; | |
212 char *buf; | 211 char *buf; |
213 | 212 |
214 if (!a) | 213 if (!a) |
215 return; | 214 return; |
216 | 215 |
299 away_time_queue = g_slist_remove(away_time_queue, qar); | 298 away_time_queue = g_slist_remove(away_time_queue, qar); |
300 g_free(qar); | 299 g_free(qar); |
301 } | 300 } |
302 | 301 |
303 gtk_widget_show(imaway); | 302 gtk_widget_show(imaway); |
304 buf2 = g_malloc(strlen(awaymessage->message) * 4 + 1); | 303 serv_set_away_all(awaymessage->message); |
305 strncpy_withhtml(buf2, awaymessage->message, strlen(awaymessage->message) * 4 + 1); | |
306 serv_set_away_all(buf2); | |
307 g_free(buf2); | |
308 } | 304 } |
309 | 305 |
310 void rem_away_mess(GtkWidget *w, struct away_message *a) | 306 void rem_away_mess(GtkWidget *w, struct away_message *a) |
311 { | 307 { |
312 int default_index; | 308 int default_index; |