2006-08-28 [paul] 2.4.0cvs104
[claws.git] / src / gtk / pluginwindow.c
index 5b5986ed6bedcb86304b6071ce8c8594ad094f54..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);
                        }
 
@@ -394,6 +396,8 @@ void pluginwindow_create()
        gtk_widget_set_size_request(window, prefs_common.pluginswin_width,
                                    prefs_common.pluginswin_height);
 
+       gtk_widget_set_size_request(hbuttonbox1, -1, -1);
+
        gtk_widget_show(window);
 }