src/gtkpounce.c

changeset 10167
3f4db9c54e04
parent 9949
377cd65fab3d
child 10238
fae8c79c50a5
equal deleted inserted replaced
10166:d87eed7d5744 10167:3f4db9c54e04
947 947
948 if (gaim_pounce_action_is_enabled(pounce, "popup-notify")) 948 if (gaim_pounce_action_is_enabled(pounce, "popup-notify"))
949 { 949 {
950 char tmp[1024]; 950 char tmp[1024];
951 const char *name_shown; 951 const char *name_shown;
952 char *escaped;
953
954 escaped = g_markup_escape_text(alias, -1);
952 955
953 /* 956 /*
954 * Here we place the protocol name in the pounce dialog to lessen 957 * Here we place the protocol name in the pounce dialog to lessen
955 * confusion about what protocol a pounce is for. 958 * confusion about what protocol a pounce is for.
956 */ 959 */
970 (events & GAIM_POUNCE_IDLE) ? 973 (events & GAIM_POUNCE_IDLE) ?
971 _("%s has become idle (%s)") : 974 _("%s has become idle (%s)") :
972 (events & GAIM_POUNCE_AWAY) ? 975 (events & GAIM_POUNCE_AWAY) ?
973 _("%s has gone away. (%s)") : 976 _("%s has gone away. (%s)") :
974 _("Unknown pounce event. Please report this!"), 977 _("Unknown pounce event. Please report this!"),
975 alias, gaim_account_get_protocol_name(account)); 978 escaped, gaim_account_get_protocol_name(account));
979
980 g_free(escaped);
976 981
977 /* 982 /*
978 * Ok here is where I change the second argument, title, from 983 * Ok here is where I change the second argument, title, from
979 * NULL to the account name if that's all we have or the account 984 * NULL to the account name if that's all we have or the account
980 * alias if we have that 985 * alias if we have that

mercurial