diff console/libgnt/test.c @ 13860:c1e3f7c75c3f

[gaim-migrate @ 16321] Sean suggested displaying a tooltip in the buddylist (http://gaim.sourceforge.net/sean/gntmock.png). This (http://img157.imageshack.us/img157/1793/q4jb.png) is close. You can press Escape to hide the tooltip. I haven't yet managed to refresh widgets when other widgets covering it are destroyed. So some parts of the border around the buddylist gets erased. I am going to try to fix it. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 23 Jun 2006 19:41:31 +0000
parents 5b288502a382
children
line wrap: on
line diff
--- a/console/libgnt/test.c	Fri Jun 23 16:59:12 2006 +0000
+++ b/console/libgnt/test.c	Fri Jun 23 19:41:31 2006 +0000
@@ -112,7 +112,7 @@
 
 	gnt_widget_show(hbox);
 
-	/*g_signal_connect(hbox, "key_pressed", G_CALLBACK(key_pressed), widget);*/
+	g_signal_connect(hbox, "key_pressed", G_CALLBACK(key_pressed), tree);
 	g_signal_connect(widget, "activate", G_CALLBACK(button1), hbox);
 	g_signal_connect(widget2, "activate", G_CALLBACK(button2), hbox);