Mercurial > pidgin.yaz
diff src/main.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 | a2f26666de42 |
children | 7e8524b5ff98 |
line wrap: on
line diff
--- a/src/main.c Sun May 18 19:13:21 2003 +0000 +++ b/src/main.c Sun May 18 19:59:02 2003 +0000 @@ -50,8 +50,10 @@ #include "sound.h" #include "gaim.h" #include "gaim-socket.h" +#include "notify.h" #include "gtkblist.h" #include "gtkdebug.h" +#include "gtknotify.h" #if HAVE_SIGNAL_H #include <signal.h> #endif @@ -178,7 +180,7 @@ const char *password = gtk_entry_get_text(GTK_ENTRY(pass)); if (!strlen(username)) { - do_error_dialog(_("Please enter your login."), NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, _("Please enter your login."), NULL); return; } @@ -874,6 +876,7 @@ gaim_set_win_ui_ops(gaim_get_gtk_window_ui_ops()); gaim_set_xfer_ui_ops(gaim_get_gtk_xfer_ui_ops()); gaim_set_blist_ui_ops(gaim_get_gtk_blist_ui_ops()); + gaim_set_notify_ui_ops(gaim_get_gtk_notify_ui_ops()); plugin_search_paths[0] = LIBDIR;