comparison libpurple/protocols/jabber/usernick.c @ 21086:8c9aad9479c0

Removed request stuff - now on pidgin-request-ui-hint
author Gabriel Schulhof <nix@go-nix.ca>
date Wed, 10 Oct 2007 22:57:51 +0000
parents 285bb637a2b7
children cab348e39751
comparison
equal deleted inserted replaced
21077:488796f5ba33 21086:8c9aad9479c0
71 xmlnode *nick = xmlnode_get_child_with_namespace(item,"nick","http://jabber.org/protocol/nick"); 71 xmlnode *nick = xmlnode_get_child_with_namespace(item,"nick","http://jabber.org/protocol/nick");
72 if(nick) 72 if(nick)
73 oldnickname = xmlnode_get_data(nick); 73 oldnickname = xmlnode_get_data(nick);
74 } 74 }
75 75
76 purple_request_input_with_hint(js->gc, _("Set User Nickname"), _("Please specify a new nickname for you."), 76 purple_request_input(js->gc, _("Set User Nickname"), _("Please specify a new nickname for you."),
77 _("This information is visible to all contacts on your contact list, so choose something appropriate."), 77 _("This information is visible to all contacts on your contact list, so choose something appropriate."),
78 oldnickname, FALSE, FALSE, NULL, _("Set"), PURPLE_CALLBACK(do_nick_set), _("Cancel"), NULL, 78 oldnickname, FALSE, FALSE, NULL, _("Set"), PURPLE_CALLBACK(do_nick_set), _("Cancel"), NULL,
79 purple_connection_get_account(js->gc), NULL, NULL, "blist", js); 79 purple_connection_get_account(js->gc), NULL, NULL, js);
80 g_free(oldnickname); 80 g_free(oldnickname);
81 } 81 }
82 82
83 static void do_nick_set_nick(PurplePluginAction *action) { 83 static void do_nick_set_nick(PurplePluginAction *action) {
84 PurpleConnection *gc = (PurpleConnection *) action->context; 84 PurpleConnection *gc = (PurpleConnection *) action->context;