Mercurial > pidgin
diff src/gtkpounce.c @ 5436:ad445074d239
[gaim-migrate @ 5818]
Another big commit. Ugh. I need a very smart regexp.
Core/UI split do_error_dialog(), and soon the mail dialogs! Yay! This
should work without problems at all, but standard disclaimer..
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 18 May 2003 19:59:02 +0000 |
parents | 3adb20b869b4 |
children | 2c4c975620f0 |
line wrap: on
line diff
--- a/src/gtkpounce.c Sun May 18 19:13:21 2003 +0000 +++ b/src/gtkpounce.c Sun May 18 19:59:02 2003 +0000 @@ -27,6 +27,7 @@ #include "gtkblist.h" #include "prpl.h" #include "sound.h" +#include "notify.h" struct gaim_gtkpounce_dialog { @@ -167,7 +168,8 @@ name = gtk_entry_get_text(GTK_ENTRY(dialog->buddy_entry)); if (*name == '\0') { - do_error_dialog(_("Please enter a buddy to pounce."), NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, + _("Please enter a buddy to pounce."), NULL); return; } @@ -350,7 +352,7 @@ _("Unknown pounce event. Please report this!"), pouncee); - do_error_dialog(tmp, NULL, GAIM_INFO); + gaim_notify_info(NULL, NULL, tmp, NULL); } if (pounce_data->actions & GAIM_GTKPOUNCE_SEND_MSG &&