diff console/gntblist.c @ 13869:5642f4658b59

[gaim-migrate @ 16335] A bunch of stuff that doesn't really do much. I am trying to get the "expose" thingy going where a widget will redraw some of its parts when some other widget covering it is destroyed. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 25 Jun 2006 03:15:41 +0000
parents d78ab363e02d
children 765bbdf29d04
line wrap: on
line diff
--- a/console/gntblist.c	Sat Jun 24 22:52:59 2006 +0000
+++ b/console/gntblist.c	Sun Jun 25 03:15:41 2006 +0000
@@ -222,6 +222,8 @@
 
 	if (ggblist->tooltip)
 	{
+		/* XXX: Once we can properly redraw on expose events, this can be removed at the end
+		 * to avoid the blinking*/
 		remove_tooltip(ggblist);
 	}
 
@@ -293,6 +295,8 @@
 	g_string_free(str, TRUE);
 	ggblist->tooltip = box;
 	ggblist->tnode = node;
+
+	gnt_widget_set_name(ggblist->tooltip, "tooltip");
 }
 
 static void
@@ -333,6 +337,7 @@
 	gaim_get_blist()->ui_data = ggblist;
 
 	ggblist->window = gnt_box_new(FALSE, FALSE);
+	gnt_widget_set_name(ggblist->window, "buddylist");
 	gnt_box_set_toplevel(GNT_BOX(ggblist->window), TRUE);
 	gnt_box_set_title(GNT_BOX(ggblist->window), _("Buddy List"));
 	gnt_box_set_pad(GNT_BOX(ggblist->window), 0);