2006-08-28 [paul] 2.4.0cvs104
[claws.git] / src / gtk / pluginwindow.c
index 8ba5599e101f658b993c93649616787a38616bd3..008c7ae22a9c58524c71b7a6ab281b59e94d7277 100644 (file)
@@ -195,9 +195,11 @@ static void load_cb(GtkButton *button, PluginWindow *pluginwindow)
                        if (!file) continue;
                        plugin_load(file, &error);
                        if (error != NULL) {
+                               gchar *basename = g_path_get_basename(file);
                                alertpanel_error(
-                               _("The following error occured while loading the plugin [%s] :\n%s\n"),
-                               file, error);
+                               _("The following error occured while loading %s :\n\n%s\n"),
+                               basename, error);
+                               g_free(basename);
                                g_free(error);
                        }