src/ft.c

changeset 5436
a0e0bacaa196
parent 5169
091d71968b59
child 5494
410d120ef10d
equal deleted inserted replaced
5435:990c340ecb6d 5436:a0e0bacaa196
31 #include <string.h> 31 #include <string.h>
32 32
33 #include <gtk/gtk.h> 33 #include <gtk/gtk.h>
34 #include "gaim.h" 34 #include "gaim.h"
35 #include "proxy.h" 35 #include "proxy.h"
36 #include "notify.h"
36 37
37 static struct gaim_xfer_ui_ops *xfer_ui_ops = NULL; 38 static struct gaim_xfer_ui_ops *xfer_ui_ops = NULL;
38 39
39 struct gaim_xfer * 40 struct gaim_xfer *
40 gaim_xfer_new(struct gaim_account *account, GaimXferType type, 41 gaim_xfer_new(struct gaim_account *account, GaimXferType type,
737 if (type == GAIM_XFER_SEND) 738 if (type == GAIM_XFER_SEND)
738 title = g_strdup_printf(_("File transfer to %s aborted.\n"), who); 739 title = g_strdup_printf(_("File transfer to %s aborted.\n"), who);
739 else 740 else
740 title = g_strdup_printf(_("File transfer from %s aborted.\n"), who); 741 title = g_strdup_printf(_("File transfer from %s aborted.\n"), who);
741 742
742 do_error_dialog(title, msg, GAIM_ERROR); 743 gaim_notify_error(NULL, NULL, title, msg);
743 744
744 g_free(title); 745 g_free(title);
745 } 746 }
746 747
747 void 748 void

mercurial