Mercurial > pidgin
diff src/module.c @ 3427:8fa61405af2b
[gaim-migrate @ 3453]
Who never commits anything *now*, Etan?
I changed most of the error message text around. If you think any of it
should be different, just let me know, or send a patch.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Sun, 25 Aug 2002 10:51:24 +0000 |
| parents | e102d1629c71 |
| children | c11960537fee |
line wrap: on
line diff
--- a/src/module.c Sun Aug 25 06:08:15 2002 +0000 +++ b/src/module.c Sun Aug 25 10:51:24 2002 +0000 @@ -103,13 +103,13 @@ plug->handle = g_module_open(filename, 0); if (!plug->handle) { error = (char *)g_module_error(); - do_error_dialog(error, _("Plugin Error")); + do_error_dialog(_("Gaim was unable to load your plugin."), error, GAIM_ERROR); g_free(plug); return NULL; } if (!g_module_symbol(plug->handle, "gaim_plugin_init", (gpointer *)&gaim_plugin_init)) { - do_error_dialog(g_module_error(), _("Plugin Error")); + do_error_dialog(_("Gaim was unable to load your plugin."), g_module_error(), GAIM_ERROR); g_module_close(plug->handle); g_free(plug); return NULL; @@ -119,7 +119,7 @@ debug_printf("loaded plugin returned %s\n", retval ? retval : "NULL"); if (retval) { plugin_remove_callbacks(plug->handle); - do_error_dialog(retval, _("Plugin Error")); + do_error_dialog("Gaim was unable to load your plugin.", retval, GAIM_ERROR); g_module_close(plug->handle); g_free(plug); return NULL;
