| 358 obj_class->get_property = pidgin_blist_theme_get_property; |
358 obj_class->get_property = pidgin_blist_theme_get_property; |
| 359 obj_class->set_property = pidgin_blist_theme_set_property; |
359 obj_class->set_property = pidgin_blist_theme_set_property; |
| 360 obj_class->finalize = pidgin_blist_theme_finalize; |
360 obj_class->finalize = pidgin_blist_theme_finalize; |
| 361 |
361 |
| 362 /* Buddy List */ |
362 /* Buddy List */ |
| 363 pspec = g_param_spec_boxed("background-color", _("Background Color"), |
363 pspec = g_param_spec_boxed("background-color", "Background Color", |
| 364 _("The background color for the buddy list"), |
364 "The background color for the buddy list", |
| 365 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
365 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
| 366 g_object_class_install_property(obj_class, PROP_BACKGROUND_COLOR, pspec); |
366 g_object_class_install_property(obj_class, PROP_BACKGROUND_COLOR, pspec); |
| 367 |
367 |
| 368 pspec = g_param_spec_pointer("layout", _("Layout"), |
368 pspec = g_param_spec_pointer("layout", "Layout", |
| 369 _("The layout of icons, name, and status of the buddy list"), |
369 "The layout of icons, name, and status of the buddy list", |
| 370 G_PARAM_READWRITE); |
370 G_PARAM_READWRITE); |
| 371 |
371 |
| 372 g_object_class_install_property(obj_class, PROP_LAYOUT, pspec); |
372 g_object_class_install_property(obj_class, PROP_LAYOUT, pspec); |
| 373 |
373 |
| 374 /* Group */ |
374 /* Group */ |
| 375 /* Note to translators: These two strings refer to the background color |
375 /* Note to translators: These two strings refer to the background color |
| 376 of a buddy list group when in its expanded state */ |
376 of a buddy list group when in its expanded state */ |
| 377 pspec = g_param_spec_boxed("expanded-color", _("Expanded Background Color"), |
377 pspec = g_param_spec_boxed("expanded-color", "Expanded Background Color", |
| 378 _("The background color of an expanded group"), |
378 "The background color of an expanded group", |
| 379 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
379 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
| 380 g_object_class_install_property(obj_class, PROP_EXPANDED_COLOR, pspec); |
380 g_object_class_install_property(obj_class, PROP_EXPANDED_COLOR, pspec); |
| 381 |
381 |
| 382 /* Note to translators: These two strings refer to the font and color |
382 /* Note to translators: These two strings refer to the font and color |
| 383 of a buddy list group when in its expanded state */ |
383 of a buddy list group when in its expanded state */ |
| 384 pspec = g_param_spec_pointer("expanded-text", _("Expanded Text"), |
384 pspec = g_param_spec_pointer("expanded-text", "Expanded Text", |
| 385 _("The text information for when a group is expanded"), |
385 "The text information for when a group is expanded", |
| 386 G_PARAM_READWRITE); |
386 G_PARAM_READWRITE); |
| 387 g_object_class_install_property(obj_class, PROP_EXPANDED_TEXT, pspec); |
387 g_object_class_install_property(obj_class, PROP_EXPANDED_TEXT, pspec); |
| 388 |
388 |
| 389 /* Note to translators: These two strings refer to the background color |
389 /* Note to translators: These two strings refer to the background color |
| 390 of a buddy list group when in its collapsed state */ |
390 of a buddy list group when in its collapsed state */ |
| 391 pspec = g_param_spec_boxed("collapsed-color", _("Collapsed Background Color"), |
391 pspec = g_param_spec_boxed("collapsed-color", "Collapsed Background Color", |
| 392 _("The background color of a collapsed group"), |
392 "The background color of a collapsed group", |
| 393 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
393 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
| 394 g_object_class_install_property(obj_class, PROP_COLLAPSED_COLOR, pspec); |
394 g_object_class_install_property(obj_class, PROP_COLLAPSED_COLOR, pspec); |
| 395 |
395 |
| 396 /* Note to translators: These two strings refer to the font and color |
396 /* Note to translators: These two strings refer to the font and color |
| 397 of a buddy list group when in its collapsed state */ |
397 of a buddy list group when in its collapsed state */ |
| 398 pspec = g_param_spec_pointer("collapsed-text", _("Collapsed Text"), |
398 pspec = g_param_spec_pointer("collapsed-text", "Collapsed Text", |
| 399 _("The text information for when a group is collapsed"), |
399 "The text information for when a group is collapsed", |
| 400 G_PARAM_READWRITE); |
400 G_PARAM_READWRITE); |
| 401 g_object_class_install_property(obj_class, PROP_COLLAPSED_TEXT, pspec); |
401 g_object_class_install_property(obj_class, PROP_COLLAPSED_TEXT, pspec); |
| 402 |
402 |
| 403 /* Buddy */ |
403 /* Buddy */ |
| 404 /* Note to translators: These two strings refer to the background color |
404 /* Note to translators: These two strings refer to the background color |
| 405 of a buddy list contact or chat room */ |
405 of a buddy list contact or chat room */ |
| 406 pspec = g_param_spec_boxed("contact-color", _("Contact/Chat Background Color"), |
406 pspec = g_param_spec_boxed("contact-color", "Contact/Chat Background Color", |
| 407 _("The background color of a contact or chat"), |
407 "The background color of a contact or chat", |
| 408 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
408 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
| 409 g_object_class_install_property(obj_class, PROP_CONTACT_COLOR, pspec); |
409 g_object_class_install_property(obj_class, PROP_CONTACT_COLOR, pspec); |
| 410 |
410 |
| 411 /* Note to translators: These two strings refer to the font and color |
411 /* Note to translators: These two strings refer to the font and color |
| 412 of a buddy list contact when in its expanded state */ |
412 of a buddy list contact when in its expanded state */ |
| 413 pspec = g_param_spec_pointer("contact", _("Contact Text"), |
413 pspec = g_param_spec_pointer("contact", "Contact Text", |
| 414 _("The text information for when a contact is expanded"), |
414 "The text information for when a contact is expanded", |
| 415 G_PARAM_READWRITE); |
415 G_PARAM_READWRITE); |
| 416 g_object_class_install_property(obj_class, PROP_CONTACT, pspec); |
416 g_object_class_install_property(obj_class, PROP_CONTACT, pspec); |
| 417 |
417 |
| 418 /* Note to translators: These two strings refer to the font and color |
418 /* Note to translators: These two strings refer to the font and color |
| 419 of a buddy list buddy when it is online */ |
419 of a buddy list buddy when it is online */ |
| 420 pspec = g_param_spec_pointer("online", _("Online Text"), |
420 pspec = g_param_spec_pointer("online", "Online Text", |
| 421 _("The text information for when a buddy is online"), |
421 "The text information for when a buddy is online", |
| 422 G_PARAM_READWRITE); |
422 G_PARAM_READWRITE); |
| 423 g_object_class_install_property(obj_class, PROP_ONLINE, pspec); |
423 g_object_class_install_property(obj_class, PROP_ONLINE, pspec); |
| 424 |
424 |
| 425 /* Note to translators: These two strings refer to the font and color |
425 /* Note to translators: These two strings refer to the font and color |
| 426 of a buddy list buddy when it is away */ |
426 of a buddy list buddy when it is away */ |
| 427 pspec = g_param_spec_pointer("away", _("Away Text"), |
427 pspec = g_param_spec_pointer("away", "Away Text", |
| 428 _("The text information for when a buddy is away"), |
428 "The text information for when a buddy is away", |
| 429 G_PARAM_READWRITE); |
429 G_PARAM_READWRITE); |
| 430 g_object_class_install_property(obj_class, PROP_AWAY, pspec); |
430 g_object_class_install_property(obj_class, PROP_AWAY, pspec); |
| 431 |
431 |
| 432 /* Note to translators: These two strings refer to the font and color |
432 /* Note to translators: These two strings refer to the font and color |
| 433 of a buddy list buddy when it is offline */ |
433 of a buddy list buddy when it is offline */ |
| 434 pspec = g_param_spec_pointer("offline", _("Offline Text"), |
434 pspec = g_param_spec_pointer("offline", "Offline Text", |
| 435 _("The text information for when a buddy is offline"), |
435 "The text information for when a buddy is offline", |
| 436 G_PARAM_READWRITE); |
436 G_PARAM_READWRITE); |
| 437 g_object_class_install_property(obj_class, PROP_OFFLINE, pspec); |
437 g_object_class_install_property(obj_class, PROP_OFFLINE, pspec); |
| 438 |
438 |
| 439 /* Note to translators: These two strings refer to the font and color |
439 /* Note to translators: These two strings refer to the font and color |
| 440 of a buddy list buddy when it is idle */ |
440 of a buddy list buddy when it is idle */ |
| 441 pspec = g_param_spec_pointer("idle", _("Idle Text"), |
441 pspec = g_param_spec_pointer("idle", "Idle Text", |
| 442 _("The text information for when a buddy is idle"), |
442 "The text information for when a buddy is idle", |
| 443 G_PARAM_READWRITE); |
443 G_PARAM_READWRITE); |
| 444 g_object_class_install_property(obj_class, PROP_IDLE, pspec); |
444 g_object_class_install_property(obj_class, PROP_IDLE, pspec); |
| 445 |
445 |
| 446 /* Note to translators: These two strings refer to the font and color |
446 /* Note to translators: These two strings refer to the font and color |
| 447 of a buddy list buddy when they have sent you a new message */ |
447 of a buddy list buddy when they have sent you a new message */ |
| 448 pspec = g_param_spec_pointer("message", _("Message Text"), |
448 pspec = g_param_spec_pointer("message", "Message Text", |
| 449 _("The text information for when a buddy has an unread message"), |
449 "The text information for when a buddy has an unread message", |
| 450 G_PARAM_READWRITE); |
450 G_PARAM_READWRITE); |
| 451 g_object_class_install_property(obj_class, PROP_MESSAGE, pspec); |
451 g_object_class_install_property(obj_class, PROP_MESSAGE, pspec); |
| 452 |
452 |
| 453 /* Note to translators: These two strings refer to the font and color |
453 /* Note to translators: These two strings refer to the font and color |
| 454 of a buddy list buddy when they have sent you a new message */ |
454 of a buddy list buddy when they have sent you a new message */ |
| 455 pspec = g_param_spec_pointer("message_nick_said", _("Message (Nick Said) Text"), |
455 pspec = g_param_spec_pointer("message_nick_said", "Message (Nick Said) Text", |
| 456 _("The text information for when a chat has an unread message that mentions your nickname"), |
456 "The text information for when a chat has an unread message that mentions your nickname", |
| 457 G_PARAM_READWRITE); |
457 G_PARAM_READWRITE); |
| 458 g_object_class_install_property(obj_class, PROP_MESSAGE_NICK_SAID, pspec); |
458 g_object_class_install_property(obj_class, PROP_MESSAGE_NICK_SAID, pspec); |
| 459 |
459 |
| 460 pspec = g_param_spec_pointer("status", _("Status Text"), |
460 pspec = g_param_spec_pointer("status", "Status Text", |
| 461 _("The text information for a buddy's status"), |
461 "The text information for a buddy's status", |
| 462 G_PARAM_READWRITE); |
462 G_PARAM_READWRITE); |
| 463 g_object_class_install_property(obj_class, PROP_STATUS, pspec); |
463 g_object_class_install_property(obj_class, PROP_STATUS, pspec); |
| 464 } |
464 } |
| 465 |
465 |
| 466 GType |
466 GType |