| 371 /* Buddy List */ |
371 /* Buddy List */ |
| 372 properties[PROP_BACKGROUND_COLOR] = g_param_spec_boxed("background-color", |
372 properties[PROP_BACKGROUND_COLOR] = g_param_spec_boxed("background-color", |
| 373 "Background Color", |
373 "Background Color", |
| 374 "The background color for the buddy list", |
374 "The background color for the buddy list", |
| 375 GDK_TYPE_COLOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
375 GDK_TYPE_COLOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 376 g_object_class_install_property(obj_class, PROP_BACKGROUND_COLOR, |
|
| 377 properties[PROP_BACKGROUND_COLOR]); |
|
| 378 |
376 |
| 379 properties[PROP_OPACITY] = g_param_spec_double("opacity", "Opacity", |
377 properties[PROP_OPACITY] = g_param_spec_double("opacity", "Opacity", |
| 380 "The opacity of the buddy list", |
378 "The opacity of the buddy list", |
| 381 0.0, 1.0, 1.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
379 0.0, 1.0, 1.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 382 g_object_class_install_property(obj_class, PROP_OPACITY, |
|
| 383 properties[PROP_OPACITY]); |
|
| 384 |
380 |
| 385 properties[PROP_LAYOUT] = g_param_spec_pointer("layout", "Layout", |
381 properties[PROP_LAYOUT] = g_param_spec_pointer("layout", "Layout", |
| 386 "The layout of icons, name, and status of the buddy list", |
382 "The layout of icons, name, and status of the buddy list", |
| 387 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
383 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 388 |
|
| 389 g_object_class_install_property(obj_class, PROP_LAYOUT, |
|
| 390 properties[PROP_LAYOUT]); |
|
| 391 |
384 |
| 392 /* Group */ |
385 /* Group */ |
| 393 properties[PROP_EXPANDED_COLOR] = g_param_spec_boxed("expanded-color", |
386 properties[PROP_EXPANDED_COLOR] = g_param_spec_boxed("expanded-color", |
| 394 "Expanded Background Color", |
387 "Expanded Background Color", |
| 395 "The background color of an expanded group", |
388 "The background color of an expanded group", |
| 396 GDK_TYPE_COLOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
389 GDK_TYPE_COLOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 397 g_object_class_install_property(obj_class, PROP_EXPANDED_COLOR, |
|
| 398 properties[PROP_EXPANDED_COLOR]); |
|
| 399 |
390 |
| 400 properties[PROP_EXPANDED_TEXT] = g_param_spec_pointer("expanded-text", |
391 properties[PROP_EXPANDED_TEXT] = g_param_spec_pointer("expanded-text", |
| 401 "Expanded Text", |
392 "Expanded Text", |
| 402 "The text information for when a group is expanded", |
393 "The text information for when a group is expanded", |
| 403 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
394 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 404 g_object_class_install_property(obj_class, PROP_EXPANDED_TEXT, |
|
| 405 properties[PROP_EXPANDED_TEXT]); |
|
| 406 |
395 |
| 407 properties[PROP_COLLAPSED_COLOR] = g_param_spec_boxed("collapsed-color", |
396 properties[PROP_COLLAPSED_COLOR] = g_param_spec_boxed("collapsed-color", |
| 408 "Collapsed Background Color", |
397 "Collapsed Background Color", |
| 409 "The background color of a collapsed group", |
398 "The background color of a collapsed group", |
| 410 GDK_TYPE_COLOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
399 GDK_TYPE_COLOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 411 g_object_class_install_property(obj_class, PROP_COLLAPSED_COLOR, |
|
| 412 properties[PROP_COLLAPSED_COLOR]); |
|
| 413 |
400 |
| 414 properties[PROP_COLLAPSED_TEXT] = g_param_spec_pointer("collapsed-text", |
401 properties[PROP_COLLAPSED_TEXT] = g_param_spec_pointer("collapsed-text", |
| 415 "Collapsed Text", |
402 "Collapsed Text", |
| 416 "The text information for when a group is collapsed", |
403 "The text information for when a group is collapsed", |
| 417 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
404 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 418 g_object_class_install_property(obj_class, PROP_COLLAPSED_TEXT, |
|
| 419 properties[PROP_COLLAPSED_TEXT]); |
|
| 420 |
405 |
| 421 /* Buddy */ |
406 /* Buddy */ |
| 422 properties[PROP_CONTACT_COLOR] = g_param_spec_boxed("contact-color", |
407 properties[PROP_CONTACT_COLOR] = g_param_spec_boxed("contact-color", |
| 423 "Contact/Chat Background Color", |
408 "Contact/Chat Background Color", |
| 424 "The background color of a contact or chat", |
409 "The background color of a contact or chat", |
| 425 GDK_TYPE_COLOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
410 GDK_TYPE_COLOR, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 426 g_object_class_install_property(obj_class, PROP_CONTACT_COLOR, |
|
| 427 properties[PROP_CONTACT_COLOR]); |
|
| 428 |
411 |
| 429 properties[PROP_CONTACT] = g_param_spec_pointer("contact", |
412 properties[PROP_CONTACT] = g_param_spec_pointer("contact", |
| 430 "Contact Text", |
413 "Contact Text", |
| 431 "The text information for when a contact is expanded", |
414 "The text information for when a contact is expanded", |
| 432 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
415 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 433 g_object_class_install_property(obj_class, PROP_CONTACT, |
|
| 434 properties[PROP_CONTACT]); |
|
| 435 |
416 |
| 436 properties[PROP_ONLINE] = g_param_spec_pointer("online", |
417 properties[PROP_ONLINE] = g_param_spec_pointer("online", |
| 437 "Online Text", |
418 "Online Text", |
| 438 "The text information for when a buddy is online", |
419 "The text information for when a buddy is online", |
| 439 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
420 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 440 g_object_class_install_property(obj_class, PROP_ONLINE, |
|
| 441 properties[PROP_ONLINE]); |
|
| 442 |
421 |
| 443 properties[PROP_AWAY] = g_param_spec_pointer("away", |
422 properties[PROP_AWAY] = g_param_spec_pointer("away", |
| 444 "Away Text", |
423 "Away Text", |
| 445 "The text information for when a buddy is away", |
424 "The text information for when a buddy is away", |
| 446 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
425 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 447 g_object_class_install_property(obj_class, PROP_AWAY, |
|
| 448 properties[PROP_AWAY]); |
|
| 449 |
426 |
| 450 properties[PROP_OFFLINE] = g_param_spec_pointer("offline", |
427 properties[PROP_OFFLINE] = g_param_spec_pointer("offline", |
| 451 "Offline Text", |
428 "Offline Text", |
| 452 "The text information for when a buddy is offline", |
429 "The text information for when a buddy is offline", |
| 453 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
430 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 454 g_object_class_install_property(obj_class, PROP_OFFLINE, |
|
| 455 properties[PROP_OFFLINE]); |
|
| 456 |
431 |
| 457 properties[PROP_IDLE] = g_param_spec_pointer("idle", |
432 properties[PROP_IDLE] = g_param_spec_pointer("idle", |
| 458 "Idle Text", |
433 "Idle Text", |
| 459 "The text information for when a buddy is idle", |
434 "The text information for when a buddy is idle", |
| 460 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
435 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 461 g_object_class_install_property(obj_class, PROP_IDLE, |
|
| 462 properties[PROP_IDLE]); |
|
| 463 |
436 |
| 464 properties[PROP_MESSAGE] = g_param_spec_pointer("message", |
437 properties[PROP_MESSAGE] = g_param_spec_pointer("message", |
| 465 "Message Text", |
438 "Message Text", |
| 466 "The text information for when a buddy has an unread message", |
439 "The text information for when a buddy has an unread message", |
| 467 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
440 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 468 g_object_class_install_property(obj_class, PROP_MESSAGE, |
|
| 469 properties[PROP_MESSAGE]); |
|
| 470 |
441 |
| 471 properties[PROP_MESSAGE_NICK_SAID] = g_param_spec_pointer("message-nick-said", |
442 properties[PROP_MESSAGE_NICK_SAID] = g_param_spec_pointer("message-nick-said", |
| 472 "Message (Nick Said) Text", |
443 "Message (Nick Said) Text", |
| 473 "The text information for when a chat has an unread message that mentions your nickname", |
444 "The text information for when a chat has an unread message that mentions your nickname", |
| 474 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
445 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 475 g_object_class_install_property(obj_class, PROP_MESSAGE_NICK_SAID, |
|
| 476 properties[PROP_MESSAGE_NICK_SAID]); |
|
| 477 |
446 |
| 478 properties[PROP_STATUS] = g_param_spec_pointer("status", |
447 properties[PROP_STATUS] = g_param_spec_pointer("status", |
| 479 "Status Text", |
448 "Status Text", |
| 480 "The text information for a buddy's status", |
449 "The text information for a buddy's status", |
| 481 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
450 G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); |
| 482 g_object_class_install_property(obj_class, PROP_STATUS, |
451 |
| 483 properties[PROP_STATUS]); |
452 g_object_class_install_properties(obj_class, PROP_LAST, properties); |
| 484 } |
453 } |
| 485 |
454 |
| 486 GType |
455 GType |
| 487 pidgin_blist_theme_get_type (void) |
456 pidgin_blist_theme_get_type (void) |
| 488 { |
457 { |