comparison src/gtkconv.c @ 13536:977714c5e8a6

[gaim-migrate @ 15913] The tab status (typing, stopped typing, etc.) accessibility strings pending the end of string freeze. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 21 Mar 2006 01:00:58 +0000
parents 6a8d3a893264
children 41e4b22c0afb
comparison
equal deleted inserted replaced
13535:99040e8c1142 13536:977714c5e8a6
5625 strncpy(style, "color=\"#47A046\"", sizeof(style)); 5625 strncpy(style, "color=\"#47A046\"", sizeof(style));
5626 } 5626 }
5627 else if (im != NULL && 5627 else if (im != NULL &&
5628 gaim_conv_im_get_typing_state(im) == GAIM_TYPED) 5628 gaim_conv_im_get_typing_state(im) == GAIM_TYPED)
5629 { 5629 {
5630 /* TODO: Post string freeze. 5630 atk_object_set_description(accessibility_obj, _("Stopped Typing"));
5631 atk_object_set_description(accessibility_obj, _("Stopped Typing")); */
5632 strncpy(style, "color=\"#D1940C\"", sizeof(style)); 5631 strncpy(style, "color=\"#D1940C\"", sizeof(style));
5633 } 5632 }
5634 else if (gtkconv->unseen_state == GAIM_UNSEEN_NICK) 5633 else if (gtkconv->unseen_state == GAIM_UNSEEN_NICK)
5635 { 5634 {
5636 /* TODO: Post string freeze. 5635 atk_object_set_description(accessibility_obj, _("Nick Said"));
5637 atk_object_set_description(accessibility_obj, _("Nick Said")); */
5638 strncpy(style, "color=\"#0D4E91\" style=\"italic\" weight=\"bold\"", sizeof(style)); 5636 strncpy(style, "color=\"#0D4E91\" style=\"italic\" weight=\"bold\"", sizeof(style));
5639 } 5637 }
5640 else if (gtkconv->unseen_state == GAIM_UNSEEN_TEXT) 5638 else if (gtkconv->unseen_state == GAIM_UNSEEN_TEXT)
5641 { 5639 {
5642 atk_object_set_description(accessibility_obj, _("Unread Messages")); 5640 atk_object_set_description(accessibility_obj, _("Unread Messages"));
5643 strncpy(style, "color=\"#DF421E\" weight=\"bold\"", sizeof(style)); 5641 strncpy(style, "color=\"#DF421E\" weight=\"bold\"", sizeof(style));
5644 } 5642 }
5645 else if (gtkconv->unseen_state == GAIM_UNSEEN_EVENT) 5643 else if (gtkconv->unseen_state == GAIM_UNSEEN_EVENT)
5646 { 5644 {
5647 atk_object_set_description(accessibility_obj, _("Event")); 5645 atk_object_set_description(accessibility_obj, _("New Event"));
5648 /* TODO: Post string freeze
5649 atk_object_set_description(accessibility_obj, _("New Event")); */
5650 strncpy(style, "color=\"#868272\" style=\"italic\"", sizeof(style)); 5646 strncpy(style, "color=\"#868272\" style=\"italic\"", sizeof(style));
5651 } 5647 }
5652 5648
5653 if (*style != '\0') 5649 if (*style != '\0')
5654 { 5650 {