X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fgnome%2FDialogs.C;h=9874ad9c688979e271c95cddbbdfcc200bbf81f9;hb=f24ed7d6ca1bd04c752f4246a4aaed06ec775d3e;hp=94e9627886faf64ba411ee1f72a7063c1bf098a1;hpb=c3f9ef4313e5041b896616e70e57ef10a854a862;p=lyx.git diff --git a/src/frontends/gnome/Dialogs.C b/src/frontends/gnome/Dialogs.C index 94e9627886..9874ad9c68 100644 --- a/src/frontends/gnome/Dialogs.C +++ b/src/frontends/gnome/Dialogs.C @@ -14,19 +14,22 @@ #pragma implementation #endif -#include "gettext.h" #include "Dialogs.h" -#include "frontends/LyXView.h" -#include "gnomeBC.h" -#include "Tooltips.h" + #include "GUI.h" +#include "gnomeBC.h" + +#include "frontends/LyXView.h" -#include "GUrl.h" #include "GError.h" -#include "GTabularCreate.h" #include "GERT.h" #include "GPreamble.h" +#include "GTabularCreate.h" +#include "GUrl.h" + + +#include "Tooltips.h" bool Dialogs::tooltipsEnabled() { @@ -34,15 +37,21 @@ bool Dialogs::tooltipsEnabled() } Dialogs::Dialogs(LyXView * lv) { - add(new GUIUrl(*lv, *this)); - add(new GUIError(*lv, *this)); - add(new GUITabularCreate(*lv, *this)); - add(new GUIERT(*lv, *this)); - add(new GUIPreamble(*lv, *this)); + + add(new GUI(*lv, *this)); + add(new GUI(*lv, *this)); + add(new GUI(*lv,*this)); + add(new GUI(*lv, *this)); + add(new GUI(*lv, *this)); // reduce the number of connections needed in // dialogs by a simple connection here. - hideAll.connect(hideBufferDependent.slot()); + hideAll.connect(hideBufferDependent); } /*****************************************************************************