pidgin/plugins/gevolution/gevolution.c

changeset 15562
8c8249fe5e3c
parent 15435
4b933b06d75e
child 15577
b8129373f65e
equal deleted inserted replaced
15561:bdb019a1f485 15562:8c8249fe5e3c
406 /* Outside container */ 406 /* Outside container */
407 ret = gtk_vbox_new(FALSE, 18); 407 ret = gtk_vbox_new(FALSE, 18);
408 gtk_container_set_border_width(GTK_CONTAINER(ret), 12); 408 gtk_container_set_border_width(GTK_CONTAINER(ret), 12);
409 409
410 /* Configuration frame */ 410 /* Configuration frame */
411 vbox = gaim_gtk_make_frame(ret, _("Evolution Integration Configuration")); 411 vbox = pidgin_make_frame(ret, _("Evolution Integration Configuration"));
412 412
413 /* Label */ 413 /* Label */
414 label = gtk_label_new(_("Select all accounts that buddies should be " 414 label = gtk_label_new(_("Select all accounts that buddies should be "
415 "auto-added to.")); 415 "auto-added to."));
416 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); 416 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
475 475
476 gaim_debug_info("evolution", "Adding account\n"); 476 gaim_debug_info("evolution", "Adding account\n");
477 477
478 gtk_list_store_append(model, &iter); 478 gtk_list_store_append(model, &iter);
479 479
480 pixbuf = gaim_gtk_create_prpl_icon(account, 0.5); 480 pixbuf = pidgin_create_prpl_icon(account, 0.5);
481 if ((pixbuf != NULL) && (!gaim_account_is_connected(account))) 481 if ((pixbuf != NULL) && (!gaim_account_is_connected(account)))
482 gdk_pixbuf_saturate_and_pixelate(pixbuf, pixbuf, 0.0, FALSE); 482 gdk_pixbuf_saturate_and_pixelate(pixbuf, pixbuf, 0.0, FALSE);
483 483
484 gtk_list_store_set(model, &iter, 484 gtk_list_store_set(model, &iter,
485 COLUMN_AUTOADD, 485 COLUMN_AUTOADD,
498 gtk_widget_show_all(ret); 498 gtk_widget_show_all(ret);
499 499
500 return ret; 500 return ret;
501 } 501 }
502 502
503 static GaimGtkPluginUiInfo ui_info = 503 static PidginPluginUiInfo ui_info =
504 { 504 {
505 get_config_frame, /**< get_config_frame */ 505 get_config_frame, /**< get_config_frame */
506 0 /**< page_num */ 506 0 /**< page_num */
507 }; 507 };
508 508
510 { 510 {
511 GAIM_PLUGIN_MAGIC, 511 GAIM_PLUGIN_MAGIC,
512 GAIM_MAJOR_VERSION, 512 GAIM_MAJOR_VERSION,
513 GAIM_MINOR_VERSION, 513 GAIM_MINOR_VERSION,
514 GAIM_PLUGIN_STANDARD, /**< type */ 514 GAIM_PLUGIN_STANDARD, /**< type */
515 GAIM_GTK_PLUGIN_TYPE, /**< ui_requirement */ 515 PIDGIN_PLUGIN_TYPE, /**< ui_requirement */
516 0, /**< flags */ 516 0, /**< flags */
517 NULL, /**< dependencies */ 517 NULL, /**< dependencies */
518 GAIM_PRIORITY_DEFAULT, /**< priority */ 518 GAIM_PRIORITY_DEFAULT, /**< priority */
519 519
520 GEVOLUTION_PLUGIN_ID, /**< id */ 520 GEVOLUTION_PLUGIN_ID, /**< id */

mercurial