#include "relocatable.h"
#include <glib.h>
-#include "syntax-editor.h"
+#include "psppire-syntax-window.h"
#include "data-editor.h"
+
#include <gettext.h>
#define _(msgid) gettext (msgid)
#define N_(msgid) msgid
switch (type)
{
case WINDOW_SYNTAX:
- e = (struct editor_window *) new_syntax_editor ();
+ //e = (struct editor_window *) new_syntax_editor ();
break;
case WINDOW_DATA:
e = (struct editor_window *) new_data_editor ();
break;
+ case WINDOW_OUTPUT:
+ //e = (struct editor_window *) new_output_viewer ();
+ break;
default:
g_assert_not_reached ();
};
e->name = g_strdup_printf (_("Untitled%d"), next_window_id () );
title = g_strdup_printf (_("%s --- PSPP Data Editor"), e->name);
break;
+ case WINDOW_OUTPUT:
+ e->name = g_strdup_printf (_("Output%d"), next_window_id () );
+ title = g_strdup_printf (_("%s --- PSPP Output"), e->name);
+ break;
default:
g_assert_not_reached ();
}