-// -*- C++ -*-
/* This file is part of
* ======================================================
*
#include "LyXView.h"
#include "buffer.h"
#include "lyxfunc.h"
-
-#include "gettext.h"
-#include "Dialogs.h"
-#include "FormIndex.h"
-#include "LyXView.h"
-#include "buffer.h"
#include "form_index.h"
-#include "lyxfunc.h"
#include <gtk--/label.h>
#include <gtk--/box.h>
#include "mainapp.h"
extern GLyxAppWin * mainAppWin;
+namespace {
+
// configuration keys
-static string const CONF_ENTRY("FormIndex_entry");
+string const CONF_ENTRY("FormIndex_entry");
+
+} // namespace anon
+
FormIndex::FormIndex(LyXView * lv, Dialogs * d)
: lv_(lv), d_(d), inset_(0), u_(0), h_(0), ih_(0), dialog_(0)
if( dialog_!=0 || inset == 0 ) return;
inset_ = inset;
- ih_ = inset_->hide.connect(slot(this, &FormIndex::hide));
+ ih_ = inset_->hideDialog.connect(slot(this, &FormIndex::hide));
params = inset->params();
show();