comparison src/plugin.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 2a1c92df7024
children 07358c067495
comparison
equal deleted inserted replaced
5435:a2f26666de42 5436:ad445074d239
40 #endif 40 #endif
41 41
42 #include "gaim.h" 42 #include "gaim.h"
43 #include "prpl.h" 43 #include "prpl.h"
44 #include "event.h" 44 #include "event.h"
45 #include "notify.h"
45 46
46 #include <string.h> 47 #include <string.h>
47 48
48 #include <sys/types.h> 49 #include <sys/types.h>
49 #include <sys/stat.h> 50 #include <sys/stat.h>
226 g_snprintf(buf, sizeof(buf), 227 g_snprintf(buf, sizeof(buf),
227 _("The plugin %s did not return any valid plugin " 228 _("The plugin %s did not return any valid plugin "
228 "information"), 229 "information"),
229 plugin->path); 230 plugin->path);
230 231
231 do_error_dialog(_("Gaim was unable to load your plugin."), buf, 232 gaim_notify_error(NULL, NULL,
232 GAIM_ERROR); 233 _("Gaim was unable to load your plugin."), buf);
233 234
234 gaim_plugin_destroy(plugin); 235 gaim_plugin_destroy(plugin);
235 236
236 return NULL; 237 return NULL;
237 } 238 }