Set more appropriate default names for Syntax and Output windows.
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 21 Feb 2009 01:54:51 +0000 (10:54 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 21 Feb 2009 01:54:51 +0000 (10:54 +0900)
Syntax windows now default to "Syntax" and output windows to "Output".

src/ui/gui/psppire-output-window.c
src/ui/gui/psppire-syntax-window.c

index bd923625859b7c6919fd1db51587a84cfc90b3cc..d5e5044af87c7e338966964212b5f6639616c24d 100644 (file)
@@ -264,6 +264,7 @@ psppire_output_window_new (void)
 {
   return GTK_WIDGET (g_object_new (psppire_output_window_get_type (),
                                   "usage", PSPPIRE_WINDOW_USAGE_OUTPUT,
+                                  "filename", "Output",
                                   NULL));
 }
 
index 7de62913482258153618bf7be23c41597958f594..a786db8040c5bcb2ec7e18df1772fd4eb536c63f 100644 (file)
@@ -602,6 +602,7 @@ psppire_syntax_window_new (void)
 {
   return GTK_WIDGET (g_object_new (psppire_syntax_window_get_type (),
                                   "usage", PSPPIRE_WINDOW_USAGE_SYNTAX,
+                                  "filename", "Syntax",
                                   NULL));
 }