comparison libpurple/plugins/autoaccept.c @ 20598:285bb637a2b7

Updated hinting to be less invasive
author Gabriel Schulhof <nix@go-nix.ca>
date Sat, 22 Sep 2007 16:19:34 +0000
parents 6a0d9fa477d4
children 8c9aad9479c0
comparison
equal deleted inserted replaced
20597:591267f6f1d5 20598:285bb637a2b7
157 node = node->parent; 157 node = node->parent;
158 g_return_if_fail(PURPLE_BLIST_NODE_IS_CONTACT(node)); 158 g_return_if_fail(PURPLE_BLIST_NODE_IS_CONTACT(node));
159 159
160 message = g_strdup_printf(_("When a file-transfer request arrives from %s"), 160 message = g_strdup_printf(_("When a file-transfer request arrives from %s"),
161 purple_contact_get_alias((PurpleContact *)node)); 161 purple_contact_get_alias((PurpleContact *)node));
162 purple_request_choice(plugin, _("Set Autoaccept Setting"), message, 162 purple_request_choice_with_hint(plugin, _("Set Autoaccept Setting"), message,
163 NULL, purple_blist_node_get_int(node, "autoaccept"), 163 NULL, purple_blist_node_get_int(node, "autoaccept"),
164 _("_Save"), G_CALLBACK(save_cb), 164 _("_Save"), G_CALLBACK(save_cb),
165 _("_Cancel"), NULL, 165 _("_Cancel"), NULL,
166 NULL, NULL, NULL, 166 NULL, NULL, NULL,
167 "xfer", node, 167 "xfer", node,