def METHOD_NAME(self,widget):
    selected,iter = self.pluginsTreeview.get_selection().get_selected()
    name,description,status = self.parent.getPluginInfo(selected.get_value(iter,0))
    prefs = self.parent.getPluginConfParams(selected.get_value(iter,0))
    self.prefwindow = Gtk.Window()
    self.prefwindow.set_border_width(20)
    self.prefwindow.set_title(_("%s settings" %name))
    self.prefwindow.set_modal(True)
    table = Gtk.Table(1,2)
    i=0
    self.entryList = []
    for pref in prefs:
        label = Gtk.Label(label="<b>%s</b>"%pref[0])
        label.set_use_markup(True)
        if pref[0] != "status":
            entry = Gtk.Entry()
            entry.set_text(pref[1])
            self.entryList.append(entry)
            table.attach(entry,1,2,i,i+1)
        else:
            combobox = Gtk.ComboBoxText()
            combobox.append_text(_("Disable"))
            combobox.append_text(_("Enable"))
            combobox.set_active(int(pref[1]))
            table.attach(combobox,1,2,i,i+1)
            self.entryList.append(combobox)
        table.attach(label,0,1,i,i+1)
        i+=1
    button = Gtk.Button(_("Ok"))
    button.connect("clicked", self.on_acceptSettings_clicked, None)
    table.attach(button,0,2,i,i+1)
    self.prefwindow.add(table)
    self.prefwindow.show_all()