projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'HEAD'; commit 'savannah/master'
[pspp-builds.git]
/
src
/
ui
/
gui
/
helper.c
diff --git
a/src/ui/gui/helper.c
b/src/ui/gui/helper.c
index fc9105d75921456a8f94ea41e1246d7065c59a55..6a3a0f9e6ce0b83ee360f62ca9f790205084da7e 100644
(file)
--- a/
src/ui/gui/helper.c
+++ b/
src/ui/gui/helper.c
@@
-20,6
+20,8
@@
*/
#include <config.h>
*/
#include <config.h>
+#include "psppire-syntax-window.h"
+
#include <glib-object.h>
#include <glib.h>
#include <glib-object.h>
#include <glib.h>
@@
-46,7
+48,7
@@
#include <language/lexer/lexer.h>
#include "psppire-data-store.h"
#include <output/manager.h>
#include <language/lexer/lexer.h>
#include "psppire-data-store.h"
#include <output/manager.h>
-#include "
output-viewer
.h"
+#include "
psppire-output-window
.h"
#include "xalloc.h"
#include "xalloc.h"
@@
-268,7
+270,7
@@
execute_syntax (struct getl_interface *sss)
som_flush ();
som_flush ();
-
reload_the_viewer
();
+
psppire_output_window_reload
();
return retval;
}
return retval;
}
@@
-320,3
+322,12
@@
clone_list_store (const GtkListStore *src)
+void
+paste_syntax_in_new_window (const gchar *syntax)
+{
+ GtkWidget *se = psppire_syntax_window_new ();
+
+ gtk_text_buffer_insert_at_cursor (PSPPIRE_SYNTAX_WINDOW (se)->buffer, syntax, -1);
+
+ gtk_widget_show (se);
+}