changeset 13737:2b9aa05b6fa1

[gaim-migrate @ 16148] Don't set the statusbox icon before it's created committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 07 May 2006 21:19:46 +0000
parents 14d005eedb30
children 9a3eb318d42d
files src/gtkstatusbox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkstatusbox.c	Sun May 07 20:43:44 2006 +0000
+++ b/src/gtkstatusbox.c	Sun May 07 21:19:46 2006 +0000
@@ -914,7 +914,6 @@
 	gtk_cell_view_set_model(GTK_CELL_VIEW(status_box->cell_view), GTK_TREE_MODEL(status_box->store));
 	gtk_combo_box_set_wrap_width(GTK_COMBO_BOX(status_box), 0);
 	gtk_list_store_append(status_box->store, &(status_box->iter));
-	gtk_gaim_status_box_refresh(status_box);
 
 	gtk_container_add(GTK_CONTAINER(status_box->toggle_button), status_box->hbox);
 	gtk_box_pack_start(GTK_BOX(status_box->hbox), status_box->cell_view, TRUE, TRUE, 0);
@@ -985,6 +984,7 @@
 
 	cache_pixbufs(status_box);
 	gtk_gaim_status_box_regenerate(status_box);
+	gtk_gaim_status_box_refresh(status_box);
 
 	gaim_prefs_connect_callback(status_box, "/core/savedstatus/current",
 								current_status_pref_changed_cb, status_box);