comparison pidgin/gtkdialogs.c @ 18106:40d51793f2d7

propagate from branch 'im.pidgin.pidgin.2.1.0' (head d8c7c08339ae468cb4298f6850eb7d3b760ad7b5) to branch 'im.pidgin.pidgin' (head 7f1ffdbda951c2effec7bfbfa8148e9ce98e7669)
author Sean Egan <seanegan@gmail.com>
date Fri, 15 Jun 2007 19:34:24 +0000
parents f13334f5717e a307926a3432
children 463aba76c5b6
comparison
equal deleted inserted replaced
17886:9564b55f3c18 18106:40d51793f2d7
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 826 pidgin_retrieve_user_info(purple_account_get_connection(account), username);
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 }
836 827
837 g_free(username); 828 g_free(username);
838 } 829 }
839 830
840 void 831 void
1239 _("_Remove Chat"), G_CALLBACK(pidgin_dialogs_remove_chat_cb), 1230 _("_Remove Chat"), G_CALLBACK(pidgin_dialogs_remove_chat_cb),
1240 _("Cancel"), NULL); 1231 _("Cancel"), NULL);
1241 1232
1242 g_free(text); 1233 g_free(text);
1243 } 1234 }
1235 }