pidgin/gtkdialogs.c

changeset 26378
e85d894af8a5
parent 25911
f22097dc8413
child 26337
ec2fc1bc9024
child 26380
4b5a1cad3a01
equal deleted inserted replaced
26377:9124a345ed3a 26378:e85d894af8a5
348 gtk_widget_destroy(about); 348 gtk_widget_destroy(about);
349 about = NULL; 349 about = NULL;
350 } 350 }
351 351
352 #if 0 352 #if 0
353 /* This function puts the version number onto the pixmap we use in the 'about' 353 /* This function puts the version number onto the pixmap we use in the 'about'
354 * screen in Pidgin. */ 354 * screen in Pidgin. */
355 static void 355 static void
356 pidgin_logo_versionize(GdkPixbuf **original, GtkWidget *widget) { 356 pidgin_logo_versionize(GdkPixbuf **original, GtkWidget *widget) {
357 GdkPixmap *pixmap; 357 GdkPixmap *pixmap;
358 GtkStyle *style; 358 GtkStyle *style;
491 /* Retired Crazy Patch Writers */ 491 /* Retired Crazy Patch Writers */
492 g_string_append_printf(str, "<FONT SIZE=\"4\">%s:</FONT><BR/>", 492 g_string_append_printf(str, "<FONT SIZE=\"4\">%s:</FONT><BR/>",
493 _("Retired Crazy Patch Writers")); 493 _("Retired Crazy Patch Writers"));
494 add_developers(str, retired_patch_writers); 494 add_developers(str, retired_patch_writers);
495 g_string_append(str, "<BR/>"); 495 g_string_append(str, "<BR/>");
496 496
497 /* Current Translators */ 497 /* Current Translators */
498 g_string_append_printf(str, "<FONT SIZE=\"4\">%s:</FONT><BR/>", 498 g_string_append_printf(str, "<FONT SIZE=\"4\">%s:</FONT><BR/>",
499 _("Current Translators")); 499 _("Current Translators"));
500 add_translators(str, translators); 500 add_translators(str, translators);
501 g_string_append(str, "<BR/>"); 501 g_string_append(str, "<BR/>");
1065 PurpleBuddy *buddy = purple_contact_get_priority_buddy(contact); 1065 PurpleBuddy *buddy = purple_contact_get_priority_buddy(contact);
1066 1066
1067 g_return_if_fail(contact != NULL); 1067 g_return_if_fail(contact != NULL);
1068 g_return_if_fail(buddy != NULL); 1068 g_return_if_fail(buddy != NULL);
1069 1069
1070 if (((PurpleBlistNode*)contact)->child == (PurpleBlistNode*)buddy && 1070 if (PURPLE_BLIST_NODE(contact)->child == PURPLE_BLIST_NODE(buddy) &&
1071 !((PurpleBlistNode*)buddy)->next) { 1071 PURPLE_BLIST_NODE(buddy)->next == NULL) {
1072 pidgin_dialogs_remove_buddy(buddy); 1072 pidgin_dialogs_remove_buddy(buddy);
1073 } else { 1073 } else {
1074 gchar *text; 1074 gchar *text;
1075 text = g_strdup_printf( 1075 text = g_strdup_printf(
1076 ngettext( 1076 ngettext(
1120 "called %s. Do you want to continue?"), source->name, new_name); 1120 "called %s. Do you want to continue?"), source->name, new_name);
1121 1121
1122 ggp = g_new(struct _PidginGroupMergeObject, 1); 1122 ggp = g_new(struct _PidginGroupMergeObject, 1);
1123 ggp->parent = source; 1123 ggp->parent = source;
1124 ggp->new_name = g_strdup(new_name); 1124 ggp->new_name = g_strdup(new_name);
1125 1125
1126 purple_request_action(source, NULL, _("Merge Groups"), text, 0, 1126 purple_request_action(source, NULL, _("Merge Groups"), text, 0,
1127 NULL, NULL, NULL, 1127 NULL, NULL, NULL,
1128 ggp, 2, 1128 ggp, 2,
1129 _("_Merge Groups"), G_CALLBACK(pidgin_dialogs_merge_groups_cb), 1129 _("_Merge Groups"), G_CALLBACK(pidgin_dialogs_merge_groups_cb),
1130 _("Cancel"), G_CALLBACK(free_ggmo)); 1130 _("Cancel"), G_CALLBACK(free_ggmo));

mercurial