# HG changeset patch # User Richard Nelson # Date 1179912383 0 # Node ID 0d9fba04fc855a1c2b3e8ef9fcc478d0a8e28d25 # Parent 7befa48ab57427074614be6ff304537b2b82f408 Re-show the add buddy request dialog if something went wrong. It's easy to lose the buddy who just added you otherwise. diff -r 7befa48ab574 -r 0d9fba04fc85 finch/gntblist.c --- a/finch/gntblist.c Wed May 23 06:28:36 2007 +0000 +++ b/finch/gntblist.c Wed May 23 09:26:23 2007 +0000 @@ -113,6 +113,7 @@ static void update_node_display(PurpleBlistNode *buddy, FinchBlist *ggblist); static void update_buddy_display(PurpleBuddy *buddy, FinchBlist *ggblist); static void account_signed_on_cb(PurpleConnection *pc, gpointer null); +static void finch_request_add_buddy(PurpleAccount *account, const char *username, const char *grp, const char *alias); /* Sort functions */ static int blist_node_compare_position(PurpleBlistNode *n1, PurpleBlistNode *n2); @@ -285,6 +286,7 @@ if (error) { + finch_request_add_buddy(account, username, group, alias); purple_notify_error(NULL, _("Error"), _("Error adding buddy"), error); return; }