comparison mcabber/src/jab_iq.c @ 1575:8e52ce94eee0

Change dataform s/text-multi/text-single to reflect the UI (suggested by ISBear)
author franky@veqlargh.fs
date Tue, 20 Jan 2009 09:03:24 +0100
parents d8a016f76ff7
children
comparison
equal deleted inserted replaced
1574:d8a016f76ff7 1575:8e52ce94eee0
1188 } 1188 }
1189 // TODO add priority ? 1189 // TODO add priority ?
1190 // I do not think this is useful, user should not have to care of the 1190 // I do not think this is useful, user should not have to care of the
1191 // priority like gossip and gajim do (misc) 1191 // priority like gossip and gajim do (misc)
1192 y = xmlnode_insert_tag(x, "field"); 1192 y = xmlnode_insert_tag(x, "field");
1193 xmlnode_put_attrib(y, "type", "text-multi"); 1193 xmlnode_put_attrib(y, "type", "text-single");
1194 xmlnode_put_attrib(y, "var", "status-message"); 1194 xmlnode_put_attrib(y, "var", "status-message");
1195 xmlnode_put_attrib(y, "label", "Message"); 1195 xmlnode_put_attrib(y, "label", "Message");
1196 } else if (action && !strcmp(action, "cancel")) { 1196 } else if (action && !strcmp(action, "cancel")) {
1197 xmlnode_put_attrib(command, "status", "canceled"); 1197 xmlnode_put_attrib(command, "status", "canceled");
1198 } else { // (if sessionid and not canceled) 1198 } else { // (if sessionid and not canceled)