Changeset 3012 for trunk/jons-gtk-gui
- Timestamp:
- 09/10/02 07:46:33 (6 years ago)
- Location:
- trunk/jons-gtk-gui/src
- Files:
-
- 2 modified
-
chat_window.cpp (modified) (3 diffs)
-
file_window.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jons-gtk-gui/src/chat_window.cpp
r2960 r3012 388 388 /* Refuse the chat */ 389 389 icq_daemon->icqChatRequestRefuse(r_cr->uin, "", 390 r_cr->c_event->Sequence()); 390 r_cr->c_event->Sequence(), 391 r_cr->c_event->MessageID(), 392 r_cr->c_event->IsDirect()); 391 393 392 394 /* Close the request window */ … … 403 405 404 406 icq_daemon->icqChatRequestAccept(r_cr->uin, cw->chatman->LocalPort(), 405 r_cr->c_event->Sequence()); 407 r_cr->c_event->Sequence(), 408 r_cr->c_event->MessageID(), 409 r_cr->c_event->IsDirect()); 406 410 } 407 411 … … 415 419 416 420 icq_daemon->icqChatRequestAccept(uin, cw->chatman->LocalPort(), 417 c->Sequence()); 421 c->Sequence(), 422 c->MessageID(), c->IsDirect()); 418 423 } 419 424 -
trunk/jons-gtk-gui/src/file_window.cpp
r2960 r3012 128 128 const char *reason = gtk_editable_get_chars(GTK_EDITABLE(fa->text), 129 129 0, -1); 130 CEventFile *f = (CEventFile *)fa->e; 131 130 132 131 133 // The user gave a reason … … 133 135 { 134 136 icq_daemon->icqFileTransferRefuse(fa->user->Uin(), 135 reason, fa->e->Sequence()); 137 reason, fa->e->Sequence(), 138 f->MessageID(), 139 f->IsDirect()); 136 140 } 137 141 … … 140 144 { 141 145 icq_daemon->icqFileTransferRefuse(fa->user->Uin(), 142 "No reason given.", fa->e->Sequence()); 146 "No reason given.", fa->e->Sequence(), 147 f->MessageID(), 148 f->IsDirect() 149 ); 143 150 } 144 151 … … 160 167 { 161 168 struct file_window *fw; 169 CEventFile *f = (CEventFile *)fa->e; 162 170 163 171 fw = g_new0(struct file_window, 1); … … 181 189 // Actually accept the file 182 190 icq_daemon->icqFileTransferAccept(fw->uin, 183 fw->ftman->LocalPort(), fw->sequence, 184 false); 191 fw->ftman->LocalPort(), 192 fw->sequence, 193 f->MessageID(), 194 f->IsDirect()); 185 195 } 186 196
