Mercurial > pidgin.yaz
comparison pidgin/gtkblist-theme.c @ 26661:9b6619a28f5d
Mark the description of the properties for translation. Show the
description in the theme editor as a tooltip.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 18 Apr 2009 23:27:38 +0000 |
parents | e9e253607e35 |
children | 9ad4b5200f24 |
comparison
equal
deleted
inserted
replaced
26660:e9e253607e35 | 26661:9b6619a28f5d |
---|---|
361 obj_class->set_property = pidgin_blist_theme_set_property; | 361 obj_class->set_property = pidgin_blist_theme_set_property; |
362 obj_class->finalize = pidgin_blist_theme_finalize; | 362 obj_class->finalize = pidgin_blist_theme_finalize; |
363 | 363 |
364 /* Buddy List */ | 364 /* Buddy List */ |
365 pspec = g_param_spec_boxed("background-color", _("Background Color"), | 365 pspec = g_param_spec_boxed("background-color", _("Background Color"), |
366 "The background color for the buddy list", | 366 _("The background color for the buddy list"), |
367 GDK_TYPE_COLOR, G_PARAM_READWRITE); | 367 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
368 g_object_class_install_property(obj_class, PROP_BACKGROUND_COLOR, pspec); | 368 g_object_class_install_property(obj_class, PROP_BACKGROUND_COLOR, pspec); |
369 | 369 |
370 pspec = g_param_spec_pointer("layout", _("Layout"), | 370 pspec = g_param_spec_pointer("layout", _("Layout"), |
371 "The layout of icons, name, and status of the blist", | 371 _("The layout of icons, name, and status of the blist"), |
372 G_PARAM_READWRITE); | 372 G_PARAM_READWRITE); |
373 | 373 |
374 g_object_class_install_property(obj_class, PROP_LAYOUT, pspec); | 374 g_object_class_install_property(obj_class, PROP_LAYOUT, pspec); |
375 | 375 |
376 /* Group */ | 376 /* Group */ |
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 pspec = g_param_spec_pointer("expanded-text", _("Expanded Text"), | 382 pspec = g_param_spec_pointer("expanded-text", _("Expanded Text"), |
383 "The text information for when a group is expanded", | 383 _("The text information for when a group is expanded"), |
384 G_PARAM_READWRITE); | 384 G_PARAM_READWRITE); |
385 g_object_class_install_property(obj_class, PROP_EXPANDED_TEXT, pspec); | 385 g_object_class_install_property(obj_class, PROP_EXPANDED_TEXT, pspec); |
386 | 386 |
387 pspec = g_param_spec_boxed("collapsed-color", _("Collapsed Background Color"), | 387 pspec = g_param_spec_boxed("collapsed-color", _("Collapsed Background Color"), |
388 "The background color of a collapsed group", | 388 _("The background color of a collapsed group"), |
389 GDK_TYPE_COLOR, G_PARAM_READWRITE); | 389 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
390 g_object_class_install_property(obj_class, PROP_COLLAPSED_COLOR, pspec); | 390 g_object_class_install_property(obj_class, PROP_COLLAPSED_COLOR, pspec); |
391 | 391 |
392 pspec = g_param_spec_pointer("collapsed-text", _("Collapsed Text"), | 392 pspec = g_param_spec_pointer("collapsed-text", _("Collapsed Text"), |
393 "The text information for when a group is collapsed", | 393 _("The text information for when a group is collapsed"), |
394 G_PARAM_READWRITE); | 394 G_PARAM_READWRITE); |
395 g_object_class_install_property(obj_class, PROP_COLLAPSED_TEXT, pspec); | 395 g_object_class_install_property(obj_class, PROP_COLLAPSED_TEXT, pspec); |
396 | 396 |
397 /* Buddy */ | 397 /* Buddy */ |
398 pspec = g_param_spec_boxed("contact-color", _("Contact/Chat Background Color"), | 398 pspec = g_param_spec_boxed("contact-color", _("Contact/Chat Background Color"), |
399 "The background color of a contact or chat", | 399 _("The background color of a contact or chat"), |
400 GDK_TYPE_COLOR, G_PARAM_READWRITE); | 400 GDK_TYPE_COLOR, G_PARAM_READWRITE); |
401 g_object_class_install_property(obj_class, PROP_CONTACT_COLOR, pspec); | 401 g_object_class_install_property(obj_class, PROP_CONTACT_COLOR, pspec); |
402 | 402 |
403 pspec = g_param_spec_pointer("contact", _("Contact Text"), | 403 pspec = g_param_spec_pointer("contact", _("Contact Text"), |
404 "The text information for when a contact is expanded", | 404 _("The text information for when a contact is expanded"), |
405 G_PARAM_READWRITE); | 405 G_PARAM_READWRITE); |
406 g_object_class_install_property(obj_class, PROP_CONTACT, pspec); | 406 g_object_class_install_property(obj_class, PROP_CONTACT, pspec); |
407 | 407 |
408 pspec = g_param_spec_pointer("online", _("On-line Text"), | 408 pspec = g_param_spec_pointer("online", _("On-line Text"), |
409 "The text information for when a buddy is online", | 409 _("The text information for when a buddy is online"), |
410 G_PARAM_READWRITE); | 410 G_PARAM_READWRITE); |
411 g_object_class_install_property(obj_class, PROP_ONLINE, pspec); | 411 g_object_class_install_property(obj_class, PROP_ONLINE, pspec); |
412 | 412 |
413 pspec = g_param_spec_pointer("away", _("Away Text"), | 413 pspec = g_param_spec_pointer("away", _("Away Text"), |
414 "The text information for when a buddy is away", | 414 _("The text information for when a buddy is away"), |
415 G_PARAM_READWRITE); | 415 G_PARAM_READWRITE); |
416 g_object_class_install_property(obj_class, PROP_AWAY, pspec); | 416 g_object_class_install_property(obj_class, PROP_AWAY, pspec); |
417 | 417 |
418 pspec = g_param_spec_pointer("offline", _("Off-line Text"), | 418 pspec = g_param_spec_pointer("offline", _("Off-line Text"), |
419 "The text information for when a buddy is off-line", | 419 _("The text information for when a buddy is off-line"), |
420 G_PARAM_READWRITE); | 420 G_PARAM_READWRITE); |
421 g_object_class_install_property(obj_class, PROP_OFFLINE, pspec); | 421 g_object_class_install_property(obj_class, PROP_OFFLINE, pspec); |
422 | 422 |
423 pspec = g_param_spec_pointer("idle", _("Idle Text"), | 423 pspec = g_param_spec_pointer("idle", _("Idle Text"), |
424 "The text information for when a buddy is idle", | 424 _("The text information for when a buddy is idle"), |
425 G_PARAM_READWRITE); | 425 G_PARAM_READWRITE); |
426 g_object_class_install_property(obj_class, PROP_IDLE, pspec); | 426 g_object_class_install_property(obj_class, PROP_IDLE, pspec); |
427 | 427 |
428 pspec = g_param_spec_pointer("message", _("Message Text"), | 428 pspec = g_param_spec_pointer("message", _("Message Text"), |
429 "The text information for when a buddy has an unread message", | 429 _("The text information for when a buddy has an unread message"), |
430 G_PARAM_READWRITE); | 430 G_PARAM_READWRITE); |
431 g_object_class_install_property(obj_class, PROP_MESSAGE, pspec); | 431 g_object_class_install_property(obj_class, PROP_MESSAGE, pspec); |
432 | 432 |
433 pspec = g_param_spec_pointer("message_nick_said", _("Message (Nick Said) Text"), | 433 pspec = g_param_spec_pointer("message_nick_said", _("Message (Nick Said) Text"), |
434 "The text information for when a chat has an unread message that mentions your nick", | 434 _("The text information for when a chat has an unread message that mentions your nick"), |
435 G_PARAM_READWRITE); | 435 G_PARAM_READWRITE); |
436 g_object_class_install_property(obj_class, PROP_MESSAGE_NICK_SAID, pspec); | 436 g_object_class_install_property(obj_class, PROP_MESSAGE_NICK_SAID, pspec); |
437 | 437 |
438 pspec = g_param_spec_pointer("status", _("Status Text"), | 438 pspec = g_param_spec_pointer("status", _("Status Text"), |
439 "The text information for a buddy's status", | 439 _("The text information for a buddy's status"), |
440 G_PARAM_READWRITE); | 440 G_PARAM_READWRITE); |
441 g_object_class_install_property(obj_class, PROP_STATUS, pspec); | 441 g_object_class_install_property(obj_class, PROP_STATUS, pspec); |
442 } | 442 } |
443 | 443 |
444 GType | 444 GType |