]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/Dialogs.C
fix problem with nroff detection, remove dead code with old floats, bogus message...
[lyx.git] / src / frontends / gnome / Dialogs.C
index 721ab5351be86798f2c478417468c9f49f88f779..85a44ae0cf888009597856c06b8f4c1ec49ad3c6 100644 (file)
 #pragma implementation
 #endif
 
-#include "Dialogs.h"
+#include "gettext.h"
 
+#include "Dialogs.h"
+#include "BufferView.h"
 #include "gnomeBC.h"
 
 #include "ControlBibitem.h"
 #include "ControlBibtex.h"
 #include "ControlCharacter.h"
 #include "ControlCitation.h"
-#include "ControlCopyright.h"
-#include "ControlCredits.h"
+#include "ControlError.h"
 #include "ControlInclude.h"
 #include "ControlLog.h"
 #include "ControlUrl.h"
 #include "ControlVCLog.h"
-
+#include "ControlTabularCreate.h"
 #include "GUI.h"
 
 #include "FormUrl.h"
-#include "FormCredits.h"
-#include "FormCopyright.h"
-
+#include "FormError.h"
+#include "FormTabularCreate.h"
 /*
 #include "FormBibitem.h"
 #include "FormBibtex.h"
@@ -44,7 +44,6 @@
 #include "FormVCLog.h"
 
 #include "FormDocument.h"
-#include "FormError.h"
 #include "FormExternal.h" 
 #include "FormGraphics.h"
 #include "FormInclude.h"
@@ -56,7 +55,6 @@
 #include "FormPrint.h"
 #include "FormRef.h"
 #include "FormSearch.h"
-#include "FormSplash.h"
 #include "FormTabular.h"
 #include "FormTabularCreate.h"
 #include "FormToc.h"
 #include "FormMinipage.h"
 */
 
-// Signal enabling all visible popups to be redrawn if so desired.
+// Signal enabling all visible dialogs to be redrawn if so desired.
 // E.g., when the GUI colours have been remapped.
 SigC::Signal0<void> Dialogs::redrawGUI;
 
 Dialogs::Dialogs(LyXView * lv)
 {
        add(new GUIUrl<FormUrl, gnomeBC>(*lv, *this));
-       add(new GUICredits<FormCredits, gnomeBC>(*lv, *this));
-       add(new GUICopyright<FormCopyright, gnomeBC>(*lv, *this));
+       add(new GUIError<FormError, gnomeBC>(*lv, *this));
+       add(new GUITabularCreate<FormTabularCreate, gnomeBC>(*lv, *this));
 
 /*     
-       splash_.reset(new FormSplash(lv, this));
-
        add(new GUIBibitem<FormBibitem, xformsBC>(*lv, *this));
        add(new GUIBibtex<FormBibtex, xformsBC>(*lv, *this));
        add(new GUICharacter<FormCharacter, xformsBC>(*lv, *this));
@@ -88,7 +84,6 @@ Dialogs::Dialogs(LyXView * lv)
        add(new FormCitation(lv, this));
        
        add(new FormDocument(lv, this));
-       add(new FormError(lv, this));
        add(new FormExternal(lv, this));
        add(new FormGraphics(lv, this));
        add(new FormInclude(lv, this));
@@ -100,7 +95,6 @@ Dialogs::Dialogs(LyXView * lv)
        add(new FormPrint(lv, this));
        add(new FormRef(lv, this));
        add(new FormSearch(lv, this));
-       add(new FormSplash(lv, this));
        add(new FormTabular(lv, this));
        add(new FormTabularCreate(lv, this));
        add(new FormToc(lv, this));
@@ -179,10 +173,6 @@ A.  To avoid a segfault.
        code wrapped up like that in the form_copyright.[Ch] which is awkward
        but will at least allow multiple instances of the same dialog.
 
-       Signals will also be a great help in controlling the splashscreen --
-       once signalled to hide it can disconnect from the signal and remove
-       itself from memory.
-
        LyXFuncs will be used for requesting/setting LyX internal info.  This
        will ensure that scripts or LyXServer-connected applications can all
        have access to the same calls as the internal user-interface.