]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Dialogs.h
Small fix from Angus
[lyx.git] / src / frontends / Dialogs.h
index 3c544417e84c387a5454f64faa0f07d66f5fe1fa..2e459d073a204237e9ab4cfa3edb1b6bae793e1e 100644 (file)
@@ -22,7 +22,7 @@
 #include <sigc++/signal_system.h>
 
 #include "LString.h"
-#include "support/utility.hpp"
+#include <boost/utility.hpp>
 
 class DialogBase;
 
@@ -65,11 +65,14 @@ public:
        /// Hide all visible popups
        Signal0<void> hideAll;
        
-       /// Hide any popups that require a buffer for them to operate
+       /// Hide any dialogs that require a buffer for them to operate
        Signal0<void> hideBufferDependent;
        
-       /// Update visible, buffer-dependent popups
-       Signal0<void> updateBufferDependent;
+       /** Update visible, buffer-dependent dialogs
+           If the bool is true then a buffer change has occurred
+           else its still the same buffer.
+        */
+       Signal1<void, bool> updateBufferDependent;
        //@}
 
        /**@name Dialog Access Signals.
@@ -106,9 +109,9 @@ public:
        ///
        Signal0<void> showLayoutDocument;
        ///
-       Signal0<void> showLogFile;
+       Signal0<void> showLayoutParagraph;
        ///
-       Signal0<void> showParagraph;
+       Signal0<void> showLogFile;
        ///
        Signal0<void> showPreamble;
        ///