# HG changeset patch # User Daniel Atallah # Date 1204143594 0 # Node ID 143091589795d972f50988c86409d3f89f702203 # Parent a298447b2d666947fe89732ec1678923413bf177 Initialize the stock stuff before doing anything else so that stock items used in error messages are ready to be used. Fixes #4917. diff -r a298447b2d66 -r 143091589795 pidgin/gtkmain.c --- a/pidgin/gtkmain.c Wed Feb 27 12:30:48 2008 +0000 +++ b/pidgin/gtkmain.c Wed Feb 27 20:19:54 2008 +0000 @@ -301,6 +301,8 @@ static void pidgin_ui_init(void) { + pidgin_stock_init(); + /* Set the UI operation structures. */ purple_accounts_set_ui_ops(pidgin_accounts_get_ui_ops()); purple_xfers_set_ui_ops(pidgin_xfers_get_ui_ops()); @@ -315,7 +317,6 @@ purple_idle_set_ui_ops(pidgin_idle_get_ui_ops()); #endif - pidgin_stock_init(); pidgin_account_init(); pidgin_connection_init(); pidgin_blist_init();