Changeset 2453 for trunk/jons-gtk-gui
- Timestamp:
- 01/25/01 06:07:26 (8 years ago)
- Location:
- trunk/jons-gtk-gui/src
- Files:
-
- 3 modified
-
convo.cpp (modified) (5 diffs)
-
history_window.cpp (modified) (1 diff)
-
user_menu.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jons-gtk-gui/src/convo.cpp
r2448 r2453 487 487 case ICQ_CMDxSUB_URL: 488 488 { 489 const char *url = u_event->Text();490 491 489 const gchar *for_user_u = 492 490 g_strdup_printf("\n%s has sent you a URL!\n%s\n", 493 c->user->GetAlias(), url);494 495 gtk_text_freeze(GTK_TEXT(c->text)); 491 c->user->GetAlias(), 492 u_event->Text()); 493 496 494 gtk_text_insert(GTK_TEXT(c->text), 0, 0, 0, for_user_u, -1); 497 495 gtk_text_thaw(GTK_TEXT(c->text)); 496 g_free(for_user_u); 498 497 break; 499 498 } … … 505 504 if(u_event->IsCancelled()) 506 505 { 507 gtk_text_freeze(GTK_TEXT(c->text));508 506 gtk_text_insert(GTK_TEXT(c->text), 0, 0, 0, chat_d, -1); 509 507 gtk_text_thaw(GTK_TEXT(c->text)); … … 515 513 g_strdup_printf("\n%s requests to chat with you!\n%s\n", 516 514 c->user->GetAlias(), chat_d); 517 gtk_text_freeze(GTK_TEXT(c->text));518 515 gtk_text_insert(GTK_TEXT(c->text), 0, 0, 0, for_user_c, 519 516 -1); … … 532 529 if(u_event->IsCancelled()) 533 530 { 534 gtk_text_freeze(GTK_TEXT(c->text));535 531 gtk_text_insert(GTK_TEXT(c->text), 0, 0, 0, file_d, -1); 536 532 gtk_text_thaw(GTK_TEXT(c->text)); … … 543 539 c->user->GetAlias(), file_d); 544 540 545 gtk_text_freeze(GTK_TEXT(c->text));546 541 gtk_text_insert(GTK_TEXT(c->text), 0, 0, 0, for_user_f, -1); 547 542 gtk_text_thaw(GTK_TEXT(c->text)); -
trunk/jons-gtk-gui/src/history_window.cpp
r2445 r2453 124 124 tmStupid = localtime(&_time); 125 125 strftime(szDate, 29, "%c", tmStupid); 126 s zDesc = event_description(*history_iter);126 strcpy(szDesc, event_description(*history_iter)); 127 127 128 128 if ((*history_iter)->Direction() == D_RECEIVER) -
trunk/jons-gtk-gui/src/user_menu.cpp
r2358 r2453 39 39 if(user->NewMessages() > 0) 40 40 c = convo_new(user, TRUE); 41 42 41 else 43 44 42 c = convo_new(user, FALSE); 45 43 }
