changeset 8037:89ec7c63113c

[gaim-migrate @ 8718] This makes ctrl+pgup and ctrl+pgdown cycle throught he tabs agin. It broke when I added the text input widget to a scrolled window. I'm not really sure why this fixes it exactly, but it doesn't seem to have any side effects. Someone (me?) should probably look at these callbacks after 0.75 is released and find out what entry_key_pressed_cb_1 is supposed to be doing. Alright, cannon time. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 07 Jan 2004 22:16:29 +0000
parents 32161ad2cd6d
children de9a93878469
files src/gtkconv.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Jan 07 19:31:09 2004 +0000
+++ b/src/gtkconv.c	Wed Jan 07 22:16:29 2004 +0000
@@ -3790,6 +3790,8 @@
 							 gtkconv->entry_buffer);
 	g_signal_connect(G_OBJECT(gtkconv->entry), "key_press_event",
 					 G_CALLBACK(entry_key_pressed_cb_2), conv);
+	g_signal_connect(G_OBJECT(sw), "key_press_event",
+					 G_CALLBACK(entry_key_pressed_cb_2), conv);
 	g_signal_connect_after(G_OBJECT(gtkconv->entry), "button_press_event",
 						   G_CALLBACK(entry_stop_rclick_cb), NULL);
 
@@ -3889,6 +3891,8 @@
 							 gtkconv->entry_buffer);
 	g_signal_connect(G_OBJECT(gtkconv->entry), "key_press_event",
 					 G_CALLBACK(entry_key_pressed_cb_2), conv);
+	g_signal_connect(G_OBJECT(sw), "key_press_event",
+					 G_CALLBACK(entry_key_pressed_cb_2), conv);
 	g_signal_connect_after(G_OBJECT(gtkconv->entry), "button_press_event",
 						   G_CALLBACK(entry_stop_rclick_cb), NULL);