gint plugin_init(gchar **error)
{
MainWindow *mainwin = mainwindow_get_mainwindow();
- static gchar *path[3];
gchar *rcpath;
if( !check_plugin_version(MAKE_NUMERIC_VERSION(3,6,1,27),
"Message/RemoveAtt", GTK_UI_MANAGER_MENUITEM,
context_menu_id)
- path[0] = _("Plugins");
- path[1] = "AttRemover";
- path[2] = NULL;
-
prefs_set_default(prefs);
rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, COMMON_RC, NULL);
prefs_read_config(prefs, PREFS_BLOCK_NAME, rcpath, NULL);
gboolean plugin_done(void)
{
MainWindow *mainwin = mainwindow_get_mainwindow();
- SummaryView *summaryview = NULL;
PrefFile *pref_file;
gchar *rc_file_path;
if (mainwin == NULL)
return TRUE;
- summaryview = mainwin->summaryview;
-
MENUITEM_REMUI_MANAGER(mainwin->ui_manager,mainwin->action_group, "Message/RemoveAtt", main_menu_id);
main_menu_id = 0;