Mercurial > pidgin
changeset 6014:66a8e4938e17
[gaim-migrate @ 6463]
this _might_ fix ctl+m on windows (and elsewhere)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 04 Jul 2003 14:25:02 +0000 |
parents | 9ab75d4fafac |
children | 225902daab80 |
files | src/gtkconv.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Fri Jul 04 06:43:21 2003 +0000 +++ b/src/gtkconv.c Fri Jul 04 14:25:02 2003 +0000 @@ -1167,7 +1167,8 @@ return FALSE; } - else if ((event->state & GDK_CONTROL_MASK) && (event->keyval == 'm')) { + else if ((event->state & GDK_CONTROL_MASK) && (event->keyval == 'm' || + event->keyval == 'M')) { g_signal_stop_emission_by_name(G_OBJECT(entry), "key_press_event"); gtk_text_buffer_insert_at_cursor(gtkconv->entry_buffer, "\n", 1); } @@ -1248,10 +1249,10 @@ g_signal_stop_emission_by_name(G_OBJECT(entry), "key_press_event"); break; - + case '-': do_small(NULL, gtkconv); - + g_signal_stop_emission_by_name(G_OBJECT(entry), "key_press_event"); break;