comparison src/away.c @ 1404:96e93119268d

[gaim-migrate @ 1414] argh committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 13 Jan 2001 08:49:15 +0000
parents bf041349b11e
children 6650776468b3
comparison
equal deleted inserted replaced
1403:c0aa7fdc0a93 1404:96e93119268d
55 { 55 {
56 if (imaway) { 56 if (imaway) {
57 GtkWidget *tmp = imaway; 57 GtkWidget *tmp = imaway;
58 imaway = NULL; 58 imaway = NULL;
59 gtk_widget_destroy(tmp); 59 gtk_widget_destroy(tmp);
60 plugin_event(event_back, 0, 0, 0, 0);
61 } 60 }
62 61
63 serv_set_away_all(NULL); 62 serv_set_away_all(NULL);
64 awaymessage = NULL; 63 awaymessage = NULL;
65 #ifdef USE_APPLET 64 #ifdef USE_APPLET
158 buf2 = g_malloc(strlen(awaymessage->message) * 4 + 1); 157 buf2 = g_malloc(strlen(awaymessage->message) * 4 + 1);
159 strncpy_withhtml(buf2, awaymessage->message, strlen(awaymessage->message) * 4 + 1); 158 strncpy_withhtml(buf2, awaymessage->message, strlen(awaymessage->message) * 4 + 1);
160 serv_set_away_all(buf2); 159 serv_set_away_all(buf2);
161 g_free(buf2); 160 g_free(buf2);
162 gtk_widget_show(imaway); 161 gtk_widget_show(imaway);
163 plugin_event(event_away, 0, 0, 0, 0);
164 } 162 }
165 163
166 void rem_away_mess(GtkWidget *w, struct away_message *a) 164 void rem_away_mess(GtkWidget *w, struct away_message *a)
167 { 165 {
168 int default_index; 166 int default_index;