comparison pidgin/gtknotify.c @ 20581:73117d8bfdcd

Remove 'You have' from 'You have N new e-mails' to take less room and make it more likely to fit on one line
author Sean Egan <seanegan@gmail.com>
date Thu, 20 Sep 2007 19:21:25 +0000
parents a3f07fa68e90
children 04590d9db8b7
comparison
equal deleted inserted replaced
20580:e81e2b299825 20581:73117d8bfdcd
528 } 528 }
529 529
530 if (!GTK_WIDGET_VISIBLE(dialog)) { 530 if (!GTK_WIDGET_VISIBLE(dialog)) {
531 GdkPixbuf *pixbuf = gtk_widget_render_icon(dialog, PIDGIN_STOCK_DIALOG_MAIL, 531 GdkPixbuf *pixbuf = gtk_widget_render_icon(dialog, PIDGIN_STOCK_DIALOG_MAIL,
532 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL), NULL); 532 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL), NULL);
533 char *label_text = g_strdup_printf(ngettext("<b>You have %d new e-mail.</b>", 533 char *label_text = g_strdup_printf(ngettext("<b>%d new e-mail.</b>",
534 "<b>You have %d new e-mails.</b>", 534 "<b>%d new e-mails.</b>",
535 mail_dialog->total_count), mail_dialog->total_count); 535 mail_dialog->total_count), mail_dialog->total_count);
536 mail_dialog->in_use = TRUE; /* So that _set_headline doesn't accidentally 536 mail_dialog->in_use = TRUE; /* So that _set_headline doesn't accidentally
537 remove the notifications when replacing an 537 remove the notifications when replacing an
538 old notification. */ 538 old notification. */
539 pidgin_blist_set_headline(label_text, 539 pidgin_blist_set_headline(label_text,