comparison libpurple/protocols/jabber/presence.c @ 21069:fdefa5eb46e2

propagate from branch 'im.pidgin.pidgin' (head 1757e82b3ed17d8ad45db9d2c62f0187a8bee93d) to branch 'org.maemo.garage.pidgin.pidgin.dialog-transience' (head a7af6ce1e8f29eb0eb1bffc0ebb72813c4c5fdbf)
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 06 Oct 2007 15:55:47 +0000
parents ee8016f8208e 285bb637a2b7
children 8c9aad9479c0 0b67d509a305
comparison
equal deleted inserted replaced
20794:366204358e93 21069:fdefa5eb46e2
498 const char *code = xmlnode_get_attrib(z, "code"); 498 const char *code = xmlnode_get_attrib(z, "code");
499 if(code && !strcmp(code, "201")) { 499 if(code && !strcmp(code, "201")) {
500 if((chat = jabber_chat_find(js, jid->node, jid->domain))) { 500 if((chat = jabber_chat_find(js, jid->node, jid->domain))) {
501 chat->config_dialog_type = PURPLE_REQUEST_ACTION; 501 chat->config_dialog_type = PURPLE_REQUEST_ACTION;
502 chat->config_dialog_handle = 502 chat->config_dialog_handle =
503 purple_request_action(js->gc, 503 purple_request_action_with_hint(js->gc,
504 _("Create New Room"), 504 _("Create New Room"),
505 _("Create New Room"), 505 _("Create New Room"),
506 _("You are creating a new room. Would" 506 _("You are creating a new room. Would"
507 " you like to configure it, or" 507 " you like to configure it, or"
508 " accept the default settings?"), 508 " accept the default settings?"),
509 /* Default Action */ 1, 509 /* Default Action */ 1,
510 purple_connection_get_account(js->gc), NULL, chat->conv, 510 purple_connection_get_account(js->gc), NULL, chat->conv,
511 chat, 2, 511 "chat", chat, 2,
512 _("_Configure Room"), G_CALLBACK(jabber_chat_request_room_configure), 512 _("_Configure Room"), G_CALLBACK(jabber_chat_request_room_configure),
513 _("_Accept Defaults"), G_CALLBACK(jabber_chat_create_instant_room)); 513 _("_Accept Defaults"), G_CALLBACK(jabber_chat_create_instant_room));
514 } 514 }
515 } else if(code && !strcmp(code, "210")) { 515 } else if(code && !strcmp(code, "210")) {
516 /* server rewrote room-nick */ 516 /* server rewrote room-nick */