private void InitNamePage() { f_NameWidget = new EngineAssistantNameWidget(); f_NamePage = AppendPage(f_NameWidget); SetPageTitle(f_NameWidget, _("Name")); SetPageType(f_NameWidget, Gtk.AssistantPageType.Content); Prepare += delegate(object sender, Gtk.PrepareArgs e) { if (e.Page != f_NameWidget) { return; } CheckNamePage(); }; f_NameWidget.EngineNameEntry.Changed += delegate { CheckNamePage(); }; if (f_EngineName != null) { // we can't rename engines for now f_NameWidget.EngineNameEntry.Text = f_EngineName; f_NameWidget.EngineNameEntry.Sensitive = false; } }
private void InitNamePage() { f_NameWidget = new EngineAssistantNameWidget(); f_NamePage = AppendPage(f_NameWidget); SetPageTitle(f_NameWidget, _("Name")); SetPageType(f_NameWidget, Gtk.AssistantPageType.Content); Prepare += delegate(object sender, Gtk.PrepareArgs e) { if (e.Page != f_NameWidget) { return; } CheckNamePage(); }; f_NameWidget.EngineNameEntry.Changed += delegate { CheckNamePage(); }; if (f_EngineName != null) { // we can't rename engines for now f_NameWidget.EngineNameEntry.Text = f_EngineName; f_NameWidget.EngineNameEntry.Sensitive = false; } }