0.8.8claws33
[claws.git] / src / mainwindow.c
index faf60fd8aa15a1f5b34ce3d1f4e4c27c006645fd..779ff8e9f6653b9b4474c33e8f68960f58e35b0a 100644 (file)
@@ -85,6 +85,7 @@
 #include "ssl_manager.h"
 #include "sslcertwindow.h"
 #include "prefswindow.h"
+#include "pluginwindow.h"
 
 #define AC_LABEL_WIDTH 240
 
@@ -374,6 +375,8 @@ static void account_menu_cb  (GtkMenuItem   *menuitem,
 
 static void prefs_open_cb      (GtkMenuItem    *menuitem,
                                 gpointer        data);
+static void plugins_open_cb    (GtkMenuItem    *menuitem,
+                                gpointer        data);
 
 static void online_switch_clicked(GtkButton     *btn, 
                                  gpointer data);
@@ -698,6 +701,7 @@ static GtkItemFactoryEntry mainwin_entries[] =
                                                NULL, NULL, 0, "<Branch>"},
        {N_("/_Configuration/---"),             NULL, NULL, 0, "<Separator>"},
        {N_("/_Configuration/Preferences..."),  NULL, prefs_open_cb, 0, NULL},
+       {N_("/_Configuration/Plugins..."),      NULL, plugins_open_cb, 0, NULL},
 
        {N_("/_Help"),                          NULL, NULL, 0, "<Branch>"},
        {N_("/_Help/_Manual (Local)"),          NULL, manual_open_cb, MANUAL_MANUAL_LOCAL, NULL},
@@ -2608,6 +2612,11 @@ static void prefs_open_cb(GtkMenuItem *menuitem, gpointer data)
        prefswindow_create();
 }
 
+static void plugins_open_cb(GtkMenuItem *menuitem, gpointer data)
+{
+       pluginwindow_create();
+}
+
 static void manual_open_cb(MainWindow *mainwin, guint action,
                           GtkWidget *widget)
 {