+PrefsReloadPlugins::PrefsReloadPlugins(PreferencesWindow *pwindow,
+ InterfacePrefs *iface_prefs, int x, int y)
+ : BC_GenericButton(x, y, _("Reload plugin index"))
+{
+ this->pwindow = pwindow;
+ this->iface_prefs = iface_prefs;
+}
+
+int PrefsReloadPlugins::handle_event()
+{
+ pwindow->thread->reload_plugins = 1;
+ text_color(get_resources()->button_highlighted);
+ draw_face(1);
+ return 1;
+}
+