Mercurial > pidgin.yaz
diff pidgin/gtkdialogs.c @ 17789:f13334f5717e
show the "Retrieving..." window whenever we request user info. Fixes #1617.
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 10 Jun 2007 15:50:19 +0000 |
parents | 92a248815a96 |
children | d40fd7106ebf 40d51793f2d7 |
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c Fri Jun 08 12:52:35 2007 +0000 +++ b/pidgin/gtkdialogs.c Sun Jun 10 15:50:19 2007 +0000 @@ -822,8 +822,17 @@ if (username != NULL && purple_str_has_suffix(username, "rocksmyworld")) found = pidgin_dialogs_ee(username); - if (!found && username != NULL && *username != '\0' && account != NULL) - serv_get_info(purple_account_get_connection(account), username); + if (!found && username != NULL && *username != '\0' && account != NULL) { + + PurpleConnection *gc = purple_account_get_connection(account); + + PurpleNotifyUserInfo *info = purple_notify_user_info_new(); + purple_notify_user_info_add_pair(info, _("Information"), _("Retrieving...")); + purple_notify_userinfo(gc, username, info, NULL, NULL); + purple_notify_user_info_destroy(info); + + serv_get_info(gc, username); + } g_free(username); }