public void OnPreferencesActionActivated(object sender, EventArgs e) { try { MySettingsDialog dlg = new MySettingsDialog(); dlg.Run(); dlg.Destroy(); MainUI.SettingsChanged(); } catch (Exception ex) { Error.Report("OnPreferencesActionActivated", ex); } }
public GtkSettingsUI(MySettingsDialog Dlg) : base(new GtkMessageBox(), new GtkFileDialog()) { this.Dlg = Dlg; }