Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/pidgin/gtknotify.c Thu Sep 20 19:20:12 2007 +0000 +++ b/pidgin/gtknotify.c Thu Sep 20 19:21:25 2007 +0000 @@ -530,8 +530,8 @@ if (!GTK_WIDGET_VISIBLE(dialog)) { GdkPixbuf *pixbuf = gtk_widget_render_icon(dialog, PIDGIN_STOCK_DIALOG_MAIL, gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL), NULL); - char *label_text = g_strdup_printf(ngettext("<b>You have %d new e-mail.</b>", - "<b>You have %d new e-mails.</b>", + char *label_text = g_strdup_printf(ngettext("<b>%d new e-mail.</b>", + "<b>%d new e-mails.</b>", mail_dialog->total_count), mail_dialog->total_count); mail_dialog->in_use = TRUE; /* So that _set_headline doesn't accidentally remove the notifications when replacing an