From 52c651db2731126712d03bacac6716c854c1a24f Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sat, 7 Aug 2004 22:32:25 +0000 Subject: - Fix LyX build with gcc3.4; - take maintainership. PR: ports/70095 Submitted by: Andrew Thompson Obtained from: NetBSD. --- ...src::frontends::controllers::ControlDialog.tmpl | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 print/lyx15/files/patch-src::frontends::controllers::ControlDialog.tmpl (limited to 'print/lyx15/files/patch-src::frontends::controllers::ControlDialog.tmpl') diff --git a/print/lyx15/files/patch-src::frontends::controllers::ControlDialog.tmpl b/print/lyx15/files/patch-src::frontends::controllers::ControlDialog.tmpl new file mode 100644 index 000000000000..e805b47a3519 --- /dev/null +++ b/print/lyx15/files/patch-src::frontends::controllers::ControlDialog.tmpl @@ -0,0 +1,85 @@ +$NetBSD$ + +--- src/frontends/controllers/ControlDialog.tmpl.orig 2004-05-29 04:23:23.000000000 -0600 ++++ src/frontends/controllers/ControlDialog.tmpl +@@ -4,7 +4,7 @@ + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * +- * \author Angus Leeming ++ * \author Angus Leeming + * + * Full author contact details are available in file CREDITS + * +@@ -27,54 +27,56 @@ ControlDialog::ControlDialog(LyXVi + template + void ControlDialog::show() + { +- if (isBufferDependent() && !bufferIsAvailable()) ++ if (this->isBufferDependent() && !this->bufferIsAvailable()) + return; + +- connect(); ++ this->connect(); + + if (!dialog_built_) { +- view().build(); ++ this->view().build(); + dialog_built_ = true; + } + + setParams(); +- if (emergency_exit_) { ++ if (this->emergency_exit_) { + hide(); + return; + } + +- bc().readOnly(bufferIsReadonly()); +- view().show(); ++ this->bc().readOnly(this->bufferIsReadonly()); ++ this->view().show(); + + // The widgets may not be valid, so refresh the button controller +- bc().refresh(); ++ this->bc().refresh(); + } + ++ + template + void ControlDialog::update() + { +- if (isBufferDependent() && !bufferIsAvailable()) ++ if (this->isBufferDependent() && !this->bufferIsAvailable()) + return; + + setParams(); +- if (emergency_exit_) { ++ if (this->emergency_exit_) { + hide(); + return; + } + +- bc().readOnly(bufferIsReadonly()); +- view().update(); ++ this->bc().readOnly(this->bufferIsReadonly()); ++ this->view().update(); + + // The widgets may not be valid, so refresh the button controller +- bc().refresh(); ++ this->bc().refresh(); + } + ++ + template + void ControlDialog::hide() + { +- emergency_exit_ = false; ++ this->emergency_exit_ = false; + clearParams(); + +- disconnect(); +- view().hide(); ++ this->disconnect(); ++ this->view().hide(); + } -- cgit v1.2.3