comparison 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
comparison
equal deleted inserted replaced
17788:ef3f817cac91 17789:f13334f5717e
820 purple_request_fields_get_string(fields, "screenname"))); 820 purple_request_fields_get_string(fields, "screenname")));
821 821
822 if (username != NULL && purple_str_has_suffix(username, "rocksmyworld")) 822 if (username != NULL && purple_str_has_suffix(username, "rocksmyworld"))
823 found = pidgin_dialogs_ee(username); 823 found = pidgin_dialogs_ee(username);
824 824
825 if (!found && username != NULL && *username != '\0' && account != NULL) 825 if (!found && username != NULL && *username != '\0' && account != NULL) {
826 serv_get_info(purple_account_get_connection(account), username); 826
827 PurpleConnection *gc = purple_account_get_connection(account);
828
829 PurpleNotifyUserInfo *info = purple_notify_user_info_new();
830 purple_notify_user_info_add_pair(info, _("Information"), _("Retrieving..."));
831 purple_notify_userinfo(gc, username, info, NULL, NULL);
832 purple_notify_user_info_destroy(info);
833
834 serv_get_info(gc, username);
835 }
827 836
828 g_free(username); 837 g_free(username);
829 } 838 }
830 839
831 void 840 void