comparison libpurple/protocols/jabber/usernick.c @ 21570:dccfd999ffe7

merge of '76c07fcb434a2a7aa289734bb221c171a376d73b' and 'bad7c4c4e108d186fa8527e487d174e67ae7c0c1'
author Evan Schoenberg <evan.s@dreskin.net>
date Sat, 17 Nov 2007 17:27:48 +0000
parents a20ef7180680
children 26eabe8e739b 5f9a24d1c25e
comparison
equal deleted inserted replaced
21325:d7a43e142c6e 21570:dccfd999ffe7
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, PURPLE_REQUEST_UI_HINT_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;