Mercurial > pidgin
comparison src/prpl.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 | 1f901484599d |
children | 3e8487580024 |
comparison
equal
deleted
inserted
replaced
5435:a2f26666de42 | 5436:ad445074d239 |
---|---|
21 | 21 |
22 #include "gaim.h" | 22 #include "gaim.h" |
23 #include "gtkutils.h" | 23 #include "gtkutils.h" |
24 #include "gtkblist.h" | 24 #include "gtkblist.h" |
25 #include "prpl.h" | 25 #include "prpl.h" |
26 #include "notify.h" | |
26 #include <sys/types.h> | 27 #include <sys/types.h> |
27 #include <sys/stat.h> | 28 #include <sys/stat.h> |
28 #include <unistd.h> | 29 #include <unistd.h> |
29 #include <string.h> | 30 #include <string.h> |
30 #include <errno.h> | 31 #include <errno.h> |
698 alias ? ")" : "", | 699 alias ? ")" : "", |
699 id ? id : gc->displayname[0] ? gc->displayname : gc->username, | 700 id ? id : gc->displayname[0] ? gc->displayname : gc->username, |
700 msg ? ": " : ".", | 701 msg ? ": " : ".", |
701 msg ? msg : "", | 702 msg ? msg : "", |
702 b ? "" : _("\n\nDo you wish to add him or her to your buddy list?")); | 703 b ? "" : _("\n\nDo you wish to add him or her to your buddy list?")); |
703 if (b) | 704 |
704 do_error_dialog(_("Gaim - Information"), buf, GAIM_INFO); | 705 if (b) { |
706 gaim_notify_info(NULL, NULL, _("Gaim - Information"), buf); | |
707 } | |
705 else | 708 else |
706 do_ask_dialog(_("Gaim - Confirm"), buf, ga, _("Add"), do_add, _("Cancel"), dont_add, NULL, FALSE); | 709 do_ask_dialog(_("Gaim - Confirm"), buf, ga, |
710 _("Add"), do_add, _("Cancel"), dont_add, NULL, FALSE); | |
707 } | 711 } |
708 | 712 |
709 static GtkWidget *regdlg = NULL; | 713 static GtkWidget *regdlg = NULL; |
710 static GtkWidget *reg_list = NULL; | 714 static GtkWidget *reg_list = NULL; |
711 static GtkWidget *reg_area = NULL; | 715 static GtkWidget *reg_area = NULL; |