Mercurial > pidgin
diff src/conversation.c @ 3168:255155a1b190
[gaim-migrate @ 3184]
Make Ctrl-W optional for people who like to use it to delete words.
Rob's buying a hose clamp.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 25 Apr 2002 05:57:45 +0000 |
parents | fce1883cc608 |
children | 332df87cf3d6 |
line wrap: on
line diff
--- a/src/conversation.c Thu Apr 25 05:48:20 2002 +0000 +++ b/src/conversation.c Thu Apr 25 05:57:45 2002 +0000 @@ -1016,7 +1016,7 @@ gtk_imhtml_clear(GTK_IMHTML(c->text)); g_string_free(c->history, TRUE); c->history = g_string_new(""); - } else if (event->keyval == 'w') { + } else if ((event->keyval == 'w') && (convo_options & OPT_CONVO_CTL_W_CLOSES)) { gtk_signal_emit_stop_by_name(GTK_OBJECT(entry), "key_press_event"); close_callback(c->close, c); c = NULL;