Mercurial > pidgin.yaz
diff gtk/gtkutils.c @ 15185:a505577b6f4b
[gaim-migrate @ 17973]
I realized doing Gmail notifications that mail notifications spawn dialogs that are non-user-initiated.
I no longer like this, so I came up with "headlines," non-critical alerts that appear at the top of the
buddy list until they're clicked or a new headline is set. Now, when you get a new mail notification,
a headline will appear saying "You have 60 new e-mails." When you click it, the old mail notification
will show up.
Also, it looks wicked awesome: http://gaim.sf.net/sean/images/headline.png
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 12 Dec 2006 08:53:35 +0000 |
parents | 31603a03cc02 |
children | d380e165cd27 |
line wrap: on
line diff
--- a/gtk/gtkutils.c Tue Dec 12 08:52:46 2006 +0000 +++ b/gtk/gtkutils.c Tue Dec 12 08:53:35 2006 +0000 @@ -2928,8 +2928,7 @@ g_free(primary_esc); label = gtk_label_new(NULL); gtk_widget_set_size_request(label, gaim_prefs_get_int("/gaim/gtk/blist/width")-25,-1); - gtk_widget_modify_text(vbox, GTK_STATE_NORMAL, &(label->style->white)); - gtk_label_set_markup(GTK_LABEL(label), label_text); + gtk_label_set_markup(GTK_LABEL(label), label_text); gtk_label_set_line_wrap(GTK_LABEL(label), TRUE); gtk_misc_set_alignment(GTK_MISC(label), 0, 0); gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, TRUE, 0);