libpurple/protocols/jabber/usernick.c

branch
soc.2013.gobjectification
changeset 34940
c0aef3b64c56
parent 34935
686fa55b0deb
parent 34329
ddbc1337332c
child 35499
c4c5e0a670b1
child 36701
5acd461707ae
equal deleted inserted replaced
34939:e093c956c5e5 34940:c0aef3b64c56
79 } 79 }
80 80
81 purple_request_input(js->gc, _("Set User Nickname"), _("Please specify a new nickname for you."), 81 purple_request_input(js->gc, _("Set User Nickname"), _("Please specify a new nickname for you."),
82 _("This information is visible to all contacts on your contact list, so choose something appropriate."), 82 _("This information is visible to all contacts on your contact list, so choose something appropriate."),
83 oldnickname, FALSE, FALSE, NULL, _("Set"), PURPLE_CALLBACK(do_nick_set), _("Cancel"), NULL, 83 oldnickname, FALSE, FALSE, NULL, _("Set"), PURPLE_CALLBACK(do_nick_set), _("Cancel"), NULL,
84 purple_connection_get_account(js->gc), NULL, NULL, js); 84 purple_request_cpar_from_connection(js->gc), js);
85 g_free(oldnickname); 85 g_free(oldnickname);
86 } 86 }
87 87
88 static void do_nick_set_nick(PurplePluginAction *action) { 88 static void do_nick_set_nick(PurplePluginAction *action) {
89 PurpleConnection *gc = action->context; 89 PurpleConnection *gc = action->context;

mercurial