comparison libpurple/server.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 285bb637a2b7
children 8c9aad9479c0
comparison
equal deleted inserted replaced
20794:366204358e93 21069:fdefa5eb46e2
797 g_snprintf(buf2, sizeof(buf2), 797 g_snprintf(buf2, sizeof(buf2),
798 _("%s has invited %s to the chat room %s\n"), 798 _("%s has invited %s to the chat room %s\n"),
799 who, purple_account_get_username(account), name); 799 who, purple_account_get_username(account), name);
800 800
801 801
802 purple_request_accept_cancel(gc, NULL, _("Accept chat invitation?"), buf2, 802 purple_request_accept_cancel_with_hint(gc, NULL, _("Accept chat invitation?"), buf2,
803 PURPLE_DEFAULT_ACTION_NONE, account, who, NULL, 803 PURPLE_DEFAULT_ACTION_NONE, account, who, NULL,
804 cid, G_CALLBACK(chat_invite_accept), 804 "chat", cid, G_CALLBACK(chat_invite_accept),
805 G_CALLBACK(chat_invite_reject)); 805 G_CALLBACK(chat_invite_reject));
806 } 806 }
807 else if (plugin_return > 0) 807 else if (plugin_return > 0)
808 chat_invite_accept(cid); 808 chat_invite_accept(cid);
809 else 809 else