Mercurial > pidgin
comparison src/conversation.c @ 1438:7688db14c6dc
[gaim-migrate @ 1448]
no comments, no need for this.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 28 Jan 2001 23:16:15 +0000 |
parents | 1f0660a2c893 |
children | 06a21ec0e269 |
comparison
equal
deleted
inserted
replaced
1437:1f0660a2c893 | 1438:7688db14c6dc |
---|---|
467 if (event->keyval == GDK_Escape) { | 467 if (event->keyval == GDK_Escape) { |
468 if (general_options & OPT_GEN_ESC_CAN_CLOSE) { | 468 if (general_options & OPT_GEN_ESC_CAN_CLOSE) { |
469 gtk_signal_emit_stop_by_name(GTK_OBJECT(entry), "key_press_event"); | 469 gtk_signal_emit_stop_by_name(GTK_OBJECT(entry), "key_press_event"); |
470 close_callback(c->window, c); | 470 close_callback(c->window, c); |
471 } | 471 } |
472 } else if (event->keyval == GDK_F2) { | |
473 gtk_imhtml_show_comments(GTK_IMHTML(c->text), !(GTK_IMHTML(c->text))->comments); | |
474 } else if (event->keyval == GDK_Return) { | 472 } else if (event->keyval == GDK_Return) { |
475 if (!(event->state & GDK_SHIFT_MASK) | 473 if (!(event->state & GDK_SHIFT_MASK) |
476 && (general_options & OPT_GEN_ENTER_SENDS)) { | 474 && (general_options & OPT_GEN_ENTER_SENDS)) { |
477 gtk_signal_emit_by_name(GTK_OBJECT(entry), "activate", c); | 475 gtk_signal_emit_by_name(GTK_OBJECT(entry), "activate", c); |
478 //to stop the putting in of the enter character | 476 //to stop the putting in of the enter character |