comparison src/gtkdialogs.c @ 10812:d087e928ffd1

[gaim-migrate @ 12465] " A variety of spacing normalization I've done as I've navigated the source making other changes. The specific changes should be uncontroversial. I'm submitting these to shrink the deltas between my local tree and the CVS source. If spacing changes are unwelcome as a general rule, let me know." --rlaager I said not to do this sort of patch often. also a spelling fix. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 11 Apr 2005 04:32:26 +0000
parents 2ab4b5acc8d1
children 290131d5f626
comparison
equal deleted inserted replaced
10811:dc59482c8d37 10812:d087e928ffd1
513 else if (!strcmp(norm, "robflynn")) 513 else if (!strcmp(norm, "robflynn"))
514 gtk_label_set_markup(GTK_LABEL(label), 514 gtk_label_set_markup(GTK_LABEL(label),
515 "<span weight=\"bold\" size=\"large\" foreground=\"#1f6bad\">Pimpin\' Penguin Style! *Waddle Waddle*</span>"); 515 "<span weight=\"bold\" size=\"large\" foreground=\"#1f6bad\">Pimpin\' Penguin Style! *Waddle Waddle*</span>");
516 else if (!strcmp(norm, "flynorange")) 516 else if (!strcmp(norm, "flynorange"))
517 gtk_label_set_markup(GTK_LABEL(label), 517 gtk_label_set_markup(GTK_LABEL(label),
518 "<span weight=\"bold\" size=\"large\" foreground=\"blue\">You should be me. I'm so cute!</span>"); 518 "<span weight=\"bold\" size=\"large\" foreground=\"blue\">You should be me. I'm so cute!</span>");
519 else if (!strcmp(norm, "ewarmenhoven")) 519 else if (!strcmp(norm, "ewarmenhoven"))
520 gtk_label_set_markup(GTK_LABEL(label), 520 gtk_label_set_markup(GTK_LABEL(label),
521 "<span weight=\"bold\" size=\"large\" foreground=\"orange\">Now that's what I like!</span>"); 521 "<span weight=\"bold\" size=\"large\" foreground=\"orange\">Now that's what I like!</span>");
522 else if (!strcmp(norm, "markster97")) 522 else if (!strcmp(norm, "markster97"))
523 gtk_label_set_markup(GTK_LABEL(label), 523 gtk_label_set_markup(GTK_LABEL(label),
528 else if (!strcmp(norm, "chipx86")) 528 else if (!strcmp(norm, "chipx86"))
529 gtk_label_set_markup(GTK_LABEL(label), 529 gtk_label_set_markup(GTK_LABEL(label),
530 "<span weight=\"bold\" size=\"large\" foreground=\"red\">This sunflower seed taste like pizza.</span>"); 530 "<span weight=\"bold\" size=\"large\" foreground=\"red\">This sunflower seed taste like pizza.</span>");
531 else if (!strcmp(norm, "markdoliner")) 531 else if (!strcmp(norm, "markdoliner"))
532 gtk_label_set_markup(GTK_LABEL(label), 532 gtk_label_set_markup(GTK_LABEL(label),
533 "<span weight=\"bold\" size=\"large\" foreground=\"#6364B1\">Hey! I was in that tumbleweed!</span>"); 533 "<span weight=\"bold\" size=\"large\" foreground=\"#6364B1\">Hey! I was in that tumbleweed!</span>");
534 else if (!strcmp(norm, "lschiere")) 534 else if (!strcmp(norm, "lschiere"))
535 gtk_label_set_markup(GTK_LABEL(label), 535 gtk_label_set_markup(GTK_LABEL(label),
536 "<span weight=\"bold\" size=\"large\" foreground=\"gray\">I'm not anything.</span>"); 536 "<span weight=\"bold\" size=\"large\" foreground=\"gray\">I'm not anything.</span>");
537 g_free(norm); 537 g_free(norm);
538 538
843 } else { 843 } else {
844 gchar *text; 844 gchar *text;
845 text = g_strdup_printf( 845 text = g_strdup_printf(
846 ngettext( 846 ngettext(
847 "You are about to remove the contact containing %s " 847 "You are about to remove the contact containing %s "
848 "and %d other buddy from your buddy list. Do you " 848 "and %d other buddy from your buddy list. Do you "
849 "want to continue?", 849 "want to continue?",
850 "You are about to remove the contact containing %s " 850 "You are about to remove the contact containing %s "
851 "and %d other buddies from your buddy list. Do you " 851 "and %d other buddies from your buddy list. Do you "
852 "want to continue?", contact->totalsize - 1), 852 "want to continue?", contact->totalsize - 1),
853 buddy->name, contact->totalsize - 1); 853 buddy->name, contact->totalsize - 1);
854 854
855 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2, 855 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2,
856 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), 856 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb),
909 { 909 {
910 gchar *text; 910 gchar *text;
911 911
912 g_return_if_fail(group != NULL); 912 g_return_if_fail(group != NULL);
913 913
914 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?"), 914 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?"),
915 group->name); 915 group->name);
916 916
917 gaim_request_action(group, NULL, _("Remove Group"), text, 0, group, 2, 917 gaim_request_action(group, NULL, _("Remove Group"), text, 0, group, 2,
918 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), 918 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb),
919 _("Cancel"), NULL); 919 _("Cancel"), NULL);
951 { 951 {
952 gchar *text; 952 gchar *text;
953 953
954 g_return_if_fail(buddy != NULL); 954 g_return_if_fail(buddy != NULL);
955 955
956 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), 956 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"),
957 buddy->name); 957 buddy->name);
958 958
959 gaim_request_action(buddy, NULL, _("Remove Buddy"), text, 0, buddy, 2, 959 gaim_request_action(buddy, NULL, _("Remove Buddy"), text, 0, buddy, 2,
960 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), 960 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb),
961 _("Cancel"), NULL); 961 _("Cancel"), NULL);
988 988
989 void 989 void
990 gaim_gtkdialogs_remove_chat(GaimChat *chat) 990 gaim_gtkdialogs_remove_chat(GaimChat *chat)
991 { 991 {
992 const gchar *name = gaim_chat_get_name(chat); 992 const gchar *name = gaim_chat_get_name(chat);
993 gchar *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); 993 gchar *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name);
994 994
995 g_return_if_fail(chat != NULL); 995 g_return_if_fail(chat != NULL);
996 996
997 gaim_request_action(chat, NULL, _("Remove Chat"), text, 0, chat, 2, 997 gaim_request_action(chat, NULL, _("Remove Chat"), text, 0, chat, 2,
998 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), 998 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb),