Mercurial > pidgin
comparison src/gtkdialogs.c @ 10816:c94f40ffcafb
[gaim-migrate @ 12471]
rlaager reverted objectionable spacing changes
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 11 Apr 2005 15:26:51 +0000 |
parents | 290131d5f626 |
children | 53e7884c549a |
comparison
equal
deleted
inserted
replaced
10815:65c818fb218e | 10816:c94f40ffcafb |
---|---|
554 else if (!strcmp(norm, "robflynn")) | 554 else if (!strcmp(norm, "robflynn")) |
555 gtk_label_set_markup(GTK_LABEL(label), | 555 gtk_label_set_markup(GTK_LABEL(label), |
556 "<span weight=\"bold\" size=\"large\" foreground=\"#1f6bad\">Pimpin\' Penguin Style! *Waddle Waddle*</span>"); | 556 "<span weight=\"bold\" size=\"large\" foreground=\"#1f6bad\">Pimpin\' Penguin Style! *Waddle Waddle*</span>"); |
557 else if (!strcmp(norm, "flynorange")) | 557 else if (!strcmp(norm, "flynorange")) |
558 gtk_label_set_markup(GTK_LABEL(label), | 558 gtk_label_set_markup(GTK_LABEL(label), |
559 "<span weight=\"bold\" size=\"large\" foreground=\"blue\">You should be me. I'm so cute!</span>"); | 559 "<span weight=\"bold\" size=\"large\" foreground=\"blue\">You should be me. I'm so cute!</span>"); |
560 else if (!strcmp(norm, "ewarmenhoven")) | 560 else if (!strcmp(norm, "ewarmenhoven")) |
561 gtk_label_set_markup(GTK_LABEL(label), | 561 gtk_label_set_markup(GTK_LABEL(label), |
562 "<span weight=\"bold\" size=\"large\" foreground=\"orange\">Now that's what I like!</span>"); | 562 "<span weight=\"bold\" size=\"large\" foreground=\"orange\">Now that's what I like!</span>"); |
563 else if (!strcmp(norm, "markster97")) | 563 else if (!strcmp(norm, "markster97")) |
564 gtk_label_set_markup(GTK_LABEL(label), | 564 gtk_label_set_markup(GTK_LABEL(label), |
569 else if (!strcmp(norm, "chipx86")) | 569 else if (!strcmp(norm, "chipx86")) |
570 gtk_label_set_markup(GTK_LABEL(label), | 570 gtk_label_set_markup(GTK_LABEL(label), |
571 "<span weight=\"bold\" size=\"large\" foreground=\"red\">This sunflower seed taste like pizza.</span>"); | 571 "<span weight=\"bold\" size=\"large\" foreground=\"red\">This sunflower seed taste like pizza.</span>"); |
572 else if (!strcmp(norm, "markdoliner")) | 572 else if (!strcmp(norm, "markdoliner")) |
573 gtk_label_set_markup(GTK_LABEL(label), | 573 gtk_label_set_markup(GTK_LABEL(label), |
574 "<span weight=\"bold\" size=\"large\" foreground=\"#6364B1\">Hey! I was in that tumbleweed!</span>"); | 574 "<span weight=\"bold\" size=\"large\" foreground=\"#6364B1\">Hey! I was in that tumbleweed!</span>"); |
575 else if (!strcmp(norm, "lschiere")) | 575 else if (!strcmp(norm, "lschiere")) |
576 gtk_label_set_markup(GTK_LABEL(label), | 576 gtk_label_set_markup(GTK_LABEL(label), |
577 "<span weight=\"bold\" size=\"large\" foreground=\"gray\">I'm not anything.</span>"); | 577 "<span weight=\"bold\" size=\"large\" foreground=\"gray\">I'm not anything.</span>"); |
578 g_free(norm); | 578 g_free(norm); |
579 | 579 |
884 } else { | 884 } else { |
885 gchar *text; | 885 gchar *text; |
886 text = g_strdup_printf( | 886 text = g_strdup_printf( |
887 ngettext( | 887 ngettext( |
888 "You are about to remove the contact containing %s " | 888 "You are about to remove the contact containing %s " |
889 "and %d other buddy from your buddy list. Do you " | 889 "and %d other buddy from your buddy list. Do you " |
890 "want to continue?", | 890 "want to continue?", |
891 "You are about to remove the contact containing %s " | 891 "You are about to remove the contact containing %s " |
892 "and %d other buddies from your buddy list. Do you " | 892 "and %d other buddies from your buddy list. Do you " |
893 "want to continue?", contact->totalsize - 1), | 893 "want to continue?", contact->totalsize - 1), |
894 buddy->name, contact->totalsize - 1); | 894 buddy->name, contact->totalsize - 1); |
895 | 895 |
896 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2, | 896 gaim_request_action(contact, NULL, _("Remove Contact"), text, 0, contact, 2, |
897 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), | 897 _("Remove Contact"), G_CALLBACK(gaim_gtkdialogs_remove_contact_cb), |
950 { | 950 { |
951 gchar *text; | 951 gchar *text; |
952 | 952 |
953 g_return_if_fail(group != NULL); | 953 g_return_if_fail(group != NULL); |
954 | 954 |
955 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?"), | 955 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?"), |
956 group->name); | 956 group->name); |
957 | 957 |
958 gaim_request_action(group, NULL, _("Remove Group"), text, 0, group, 2, | 958 gaim_request_action(group, NULL, _("Remove Group"), text, 0, group, 2, |
959 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), | 959 _("Remove Group"), G_CALLBACK(gaim_gtkdialogs_remove_group_cb), |
960 _("Cancel"), NULL); | 960 _("Cancel"), NULL); |
992 { | 992 { |
993 gchar *text; | 993 gchar *text; |
994 | 994 |
995 g_return_if_fail(buddy != NULL); | 995 g_return_if_fail(buddy != NULL); |
996 | 996 |
997 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), | 997 text = g_strdup_printf(_("You are about to remove %s from your buddy list. Do you want to continue?"), |
998 buddy->name); | 998 buddy->name); |
999 | 999 |
1000 gaim_request_action(buddy, NULL, _("Remove Buddy"), text, 0, buddy, 2, | 1000 gaim_request_action(buddy, NULL, _("Remove Buddy"), text, 0, buddy, 2, |
1001 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), | 1001 _("Remove Buddy"), G_CALLBACK(gaim_gtkdialogs_remove_buddy_cb), |
1002 _("Cancel"), NULL); | 1002 _("Cancel"), NULL); |
1029 | 1029 |
1030 void | 1030 void |
1031 gaim_gtkdialogs_remove_chat(GaimChat *chat) | 1031 gaim_gtkdialogs_remove_chat(GaimChat *chat) |
1032 { | 1032 { |
1033 const gchar *name = gaim_chat_get_name(chat); | 1033 const gchar *name = gaim_chat_get_name(chat); |
1034 gchar *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); | 1034 gchar *text = g_strdup_printf(_("You are about to remove the chat %s from your buddy list. Do you want to continue?"), name); |
1035 | 1035 |
1036 g_return_if_fail(chat != NULL); | 1036 g_return_if_fail(chat != NULL); |
1037 | 1037 |
1038 gaim_request_action(chat, NULL, _("Remove Chat"), text, 0, chat, 2, | 1038 gaim_request_action(chat, NULL, _("Remove Chat"), text, 0, chat, 2, |
1039 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), | 1039 _("Remove Chat"), G_CALLBACK(gaim_gtkdialogs_remove_chat_cb), |