X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormERT.C;h=b9ee2f9a1639caf4f84f90e1acf7589e9fdbeea9;hb=3e39bef2c13125023f3b72532d90575bbe307335;hp=e81bd150c7c80821cef425d31175e4fac8d3c297;hpb=26b1fa7be88e8388415b1aa49fb41cc2fc02c2db;p=lyx.git diff --git a/src/frontends/xforms/FormERT.C b/src/frontends/xforms/FormERT.C index e81bd150c7..b9ee2f9a16 100644 --- a/src/frontends/xforms/FormERT.C +++ b/src/frontends/xforms/FormERT.C @@ -1,13 +1,8 @@ -/* This file is part of - * ====================================================== +/** + * \file xforms/FormERT.C + * Copyright 2001 The LyX Team. + * See the file COPYING. * - * LyX, The Document Processor - * - * Copyright 2001 The LyX Team. - * - * ====================================================== - * - * \file FormERT.C * \author Jürgen Vigna, jug@sad.it */ @@ -39,7 +34,7 @@ void FormERT::build() // Manage the ok, apply and cancel/close buttons bc().setOK(dialog_->button_ok); bc().setApply(dialog_->button_apply); - bc().setCancel(dialog_->button_cancel); + bc().setCancel(dialog_->button_close); bc().addReadOnly(dialog_->radio_open); bc().addReadOnly(dialog_->radio_collapsed); @@ -60,15 +55,15 @@ void FormERT::apply() void FormERT::update() { - switch (controller().params().status) { - case InsetERT::Open: + switch (controller().params().status) { + case InsetERT::Open: fl_set_button(dialog_->radio_open, 1); break; - case InsetERT::Collapsed: + case InsetERT::Collapsed: fl_set_button(dialog_->radio_collapsed, 1); break; - case InsetERT::Inlined: + case InsetERT::Inlined: fl_set_button(dialog_->radio_inlined, 1); break; - } + } }