diff -r dca0f95d34ec -r c6934783d152 pidgin/gtkdialogs.c --- a/pidgin/gtkdialogs.c Tue Oct 09 18:01:51 2007 +0000 +++ b/pidgin/gtkdialogs.c Wed Oct 10 22:57:51 2007 +0000 @@ -775,7 +775,7 @@ purple_request_field_set_required(field, TRUE); purple_request_field_group_add_field(group, field); - purple_request_fields_with_hint(purple_get_blist(), _("New Instant Message"), + purple_request_fields(purple_get_blist(), _("New Instant Message"), NULL, _("Please enter the screen name or alias of the person " "you would like to IM."), @@ -783,7 +783,7 @@ _("OK"), G_CALLBACK(pidgin_dialogs_im_cb), _("Cancel"), NULL, NULL, NULL, NULL, - "blist", NULL); + NULL); } void @@ -914,7 +914,7 @@ purple_request_field_set_required(field, TRUE); purple_request_field_group_add_field(group, field); - purple_request_fields_with_hint(purple_get_blist(), _("Get User Info"), + purple_request_fields(purple_get_blist(), _("Get User Info"), NULL, _("Please enter the screen name or alias of the person " "whose info you would like to view."), @@ -922,7 +922,7 @@ _("OK"), G_CALLBACK(pidgin_dialogs_info_cb), _("Cancel"), NULL, NULL, NULL, NULL, - "blist", NULL); + NULL); } static void @@ -950,7 +950,7 @@ PurpleBlistNode *node = cur->data; if ((node != NULL) && ((node->prev != NULL) || (node->next != NULL))) { - pidgin_log_show_contact_with_parent(GTK_WINDOW(gtkblist->window), (PurpleContact *)node->parent); + pidgin_log_show_contact((PurpleContact *)node->parent); g_slist_free(buddies); pidgin_clear_cursor(gtkblist->window); g_free(username); @@ -959,7 +959,7 @@ } g_slist_free(buddies); - pidgin_log_show_with_parent(GTK_WINDOW(gtkblist->window), PURPLE_LOG_IM, username, account); + pidgin_log_show(PURPLE_LOG_IM, username, account); pidgin_clear_cursor(gtkblist->window); } @@ -1006,7 +1006,7 @@ purple_request_field_set_required(field, TRUE); purple_request_field_group_add_field(group, field); - purple_request_fields_with_hint(purple_get_blist(), _("View User Log"), + purple_request_fields(purple_get_blist(), _("View User Log"), NULL, _("Please enter the screen name or alias of the person " "whose log you would like to view."), @@ -1014,7 +1014,7 @@ _("OK"), G_CALLBACK(pidgin_dialogs_log_cb), _("Cancel"), NULL, NULL, NULL, NULL, - "blist", NULL); + NULL); } static void @@ -1028,13 +1028,13 @@ { g_return_if_fail(contact != NULL); - purple_request_input_with_hint(NULL, _("Alias Contact"), NULL, + purple_request_input(NULL, _("Alias Contact"), NULL, _("Enter an alias for this contact."), contact->alias, FALSE, FALSE, NULL, _("Alias"), G_CALLBACK(pidgin_dialogs_alias_contact_cb), _("Cancel"), NULL, NULL, purple_contact_get_alias(contact), NULL, - "blist", contact); + contact); } static void @@ -1053,12 +1053,12 @@ secondary = g_strdup_printf(_("Enter an alias for %s."), buddy->name); - purple_request_input_with_hint(NULL, _("Alias Buddy"), NULL, + purple_request_input(NULL, _("Alias Buddy"), NULL, secondary, buddy->alias, FALSE, FALSE, NULL, _("Alias"), G_CALLBACK(pidgin_dialogs_alias_buddy_cb), _("Cancel"), NULL, purple_buddy_get_account(buddy), purple_buddy_get_name(buddy), NULL, - "blist", buddy); + buddy); g_free(secondary); } @@ -1074,13 +1074,13 @@ { g_return_if_fail(chat != NULL); - purple_request_input_with_hint(NULL, _("Alias Chat"), NULL, + purple_request_input(NULL, _("Alias Chat"), NULL, _("Enter an alias for this chat."), chat->alias, FALSE, FALSE, NULL, _("Alias"), G_CALLBACK(pidgin_dialogs_alias_chat_cb), _("Cancel"), NULL, chat->account, NULL, NULL, - "blist", chat); + chat); } static void @@ -1122,9 +1122,9 @@ "want to continue?", contact->totalsize - 1), buddy->name, contact->totalsize - 1); - purple_request_action_with_hint(contact, NULL, _("Remove Contact"), text, 0, + purple_request_action(contact, NULL, _("Remove Contact"), text, 0, NULL, purple_contact_get_alias(contact), NULL, - "blist", contact, 2, + contact, 2, _("_Remove Contact"), G_CALLBACK(pidgin_dialogs_remove_contact_cb), _("Cancel"), NULL); @@ -1163,9 +1163,9 @@ ggp->parent = source; ggp->new_name = g_strdup(new_name); - purple_request_action_with_hint(source, NULL, _("Merge Groups"), text, 0, + purple_request_action(source, NULL, _("Merge Groups"), text, 0, NULL, NULL, NULL, - "blist", ggp, 2, + ggp, 2, _("_Merge Groups"), G_CALLBACK(pidgin_dialogs_merge_groups_cb), _("Cancel"), G_CALLBACK(free_ggmo)); @@ -1219,9 +1219,9 @@ text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), group->name); - purple_request_action_with_hint(group, NULL, _("Remove Group"), text, 0, + purple_request_action(group, NULL, _("Remove Group"), text, 0, NULL, NULL, NULL, - "blist", group, 2, + group, 2, _("_Remove Group"), G_CALLBACK(pidgin_dialogs_remove_group_cb), _("Cancel"), NULL); @@ -1258,9 +1258,9 @@ text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), buddy->name); - purple_request_action_with_hint(buddy, NULL, _("Remove Buddy"), text, 0, + purple_request_action(buddy, NULL, _("Remove Buddy"), text, 0, purple_buddy_get_account(buddy), purple_buddy_get_name(buddy), NULL, - "blist", buddy, 2, + buddy, 2, _("_Remove Buddy"), G_CALLBACK(pidgin_dialogs_remove_buddy_cb), _("Cancel"), NULL); @@ -1285,9 +1285,9 @@ text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name ? name : ""); - purple_request_action_with_hint(chat, NULL, _("Remove Chat"), text, 0, + purple_request_action(chat, NULL, _("Remove Chat"), text, 0, chat->account, NULL, NULL, - "blist", chat, 2, + chat, 2, _("_Remove Chat"), G_CALLBACK(pidgin_dialogs_remove_chat_cb), _("Cancel"), NULL);