$NetBSD: patch-al,v 1.1 2006/09/19 23:35:07 joerg Exp $

--- src/frontends/controllers/ControlDialog.tmpl.orig	2006-09-20 01:06:59.000000000 +0000
+++ src/frontends/controllers/ControlDialog.tmpl
@@ -27,49 +27,49 @@ ControlDialog<Base>::ControlDialog(LyXVi
 template <class Base>
 void ControlDialog<Base>::show()
 {
-	if (isBufferDependent() && !lv_.view()->available())
+	if (this->isBufferDependent() && !this->lv_.view()->available())
 		return;
 
-	connect();
+	this->connect();
 
 	setParams();
-	if (emergency_exit_) {
+	if (this->emergency_exit_) {
 		hide();
 		return;
 	}
 
 	if (!dialog_built_) {
-		view().build();
+		this->view().build();
 		dialog_built_ = true;
 	}
 
-	bc().readOnly(isReadonly());
-	view().show();
+	this->bc().readOnly(this->isReadonly());
+	this->view().show();
 }
 
 template <class Base>
 void ControlDialog<Base>::update()
 {
-	if (isBufferDependent() && !lv_.view()->available())
+	if (this->isBufferDependent() && !this->lv_.view()->available())
 		return;
 
 	setParams();
-	if (emergency_exit_) {
+	if (this->emergency_exit_) {
 		hide();
 		return;
 	}
 
-	bc().readOnly(isReadonly());
-	view().update();
+	this->bc().readOnly(this->isReadonly());
+	this->view().update();
 }
 
 template <class Base>
 void ControlDialog<Base>::hide()
 {
-	emergency_exit_ = false;
+	this->emergency_exit_ = false;
 	clearParams();
 
-	disconnect();
-	view().hide();
+	this->disconnect();
+	this->view().hide();
 }
 
