[gaim-migrate @ 17200]

Sat, 09 Sep 2006 19:31:45 +0000

author
Casey Harkins <charkins@pidgin.im>
date
Sat, 09 Sep 2006 19:31:45 +0000
changeset 14543
cc2f90ffee6f
parent 14542
7c1dd9601f1d
child 14544
847944da3ca0

[gaim-migrate @ 17200]
SF Patch #1554423 from charkins
Fixes SF Bug #1429503

"When creating the blist, gaim currently calls
gtk_widget_show_all() on the window, then immediately
hides it if using the docklet and the blist was hidden
when gaim last quit. Bug #1429503 reports that the
buddy list window will flash on the screen when
starting gaim (though I can't reproduce it).

This patch changes that behavior so that the
gtk_widget_show_all() is called on the vbox, not the
window. gtk_widget_show() will still get called on the
window when appropriate (either immediately, or when
the user clicks the docklet, etc)."

committer: Richard Laager <rlaager@pidgin.im>

gtk/gtkblist.c file | annotate | diff | comparison | revisions
--- a/gtk/gtkblist.c	Sat Sep 09 10:39:06 2006 +0000
+++ b/gtk/gtkblist.c	Sat Sep 09 19:31:45 2006 +0000
@@ -4081,7 +4081,7 @@
 	/* OK... let's show this bad boy. */
 	gaim_gtk_blist_refresh(list);
 	gaim_gtk_blist_restore_position();
-	gtk_widget_show_all(GTK_WIDGET(gtkblist->window));
+	gtk_widget_show_all(GTK_WIDGET(gtkblist->vbox));
 	gaim_blist_set_visible(gaim_prefs_get_bool("/gaim/gtk/blist/list_visible"));
 
 	/* start the refresh timer */

mercurial