Mercurial > pidgin.yaz
comparison pidgin/gtkutils.c @ 17275:319bcb73eb4e
Use utility functions to get user info. Closes #964.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 24 May 2007 21:15:16 +0000 |
parents | 5241d388f463 |
children | d48026a5f9dd |
comparison
equal
deleted
inserted
replaced
17274:5241d388f463 | 17275:319bcb73eb4e |
---|---|
943 | 943 |
944 filename = g_build_filename(purple_user_dir(), G_DIR_SEPARATOR_S, | 944 filename = g_build_filename(purple_user_dir(), G_DIR_SEPARATOR_S, |
945 "accels", NULL); | 945 "accels", NULL); |
946 gtk_accel_map_load(filename); | 946 gtk_accel_map_load(filename); |
947 g_free(filename); | 947 g_free(filename); |
948 } | |
949 | |
950 void pidgin_retrieve_user_info(PurpleConnection *conn, const char *name) | |
951 { | |
952 PurpleNotifyUserInfo *info = purple_notify_user_info_new(); | |
953 purple_notify_user_info_add_pair(info, _("Information"), _("Retrieving...")); | |
954 purple_notify_userinfo(conn, name, info, NULL, NULL); | |
955 purple_notify_user_info_destroy(info); | |
956 serv_get_info(conn, name); | |
948 } | 957 } |
949 | 958 |
950 gboolean | 959 gboolean |
951 pidgin_parse_x_im_contact(const char *msg, gboolean all_accounts, | 960 pidgin_parse_x_im_contact(const char *msg, gboolean all_accounts, |
952 PurpleAccount **ret_account, char **ret_protocol, | 961 PurpleAccount **ret_account, char **ret_protocol, |