summaryrefslogtreecommitdiff
path: root/src/editor.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-03-03 01:03:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-03-03 01:03:15 (GMT)
commitbbd04bf5f23e7dca1917247cb92824805b22a2a4 (patch)
tree548392c1c249ae5cde936f982783f192416e080c /src/editor.c
parentc2d9948e1e67b48d1a6c8a711024d8dd3f6ac507 (diff)
Created a system messages panel.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@50 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/editor.c')
-rw-r--r--src/editor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/editor.c b/src/editor.c
index e59a9a5..e6d7516 100644
--- a/src/editor.c
+++ b/src/editor.c
@@ -57,6 +57,7 @@
#include "pan_strings.h"
#include "pan_symbols.h"
#include "gtkext/gtkdockpanel.h"
+#include "panel/panels.h"
#define _(str) str
@@ -592,6 +593,7 @@ GtkWidget *create_editor(void)
gtk_paned_set_position (GTK_PANED (hpaned1), 600);
+ init_panels();
dpanel = gtk_dock_panel_new();
@@ -849,6 +851,9 @@ GtkWidget *create_editor(void)
gtk_paned_pack2(GTK_PANED(vpaned1), dpanel, FALSE, FALSE);
+ ditem = gtk_dock_item_new(_("Messages"), get_panel(PNT_LOG));
+ gtk_dock_panel_add_item(dpanel, ditem);
+
panel = build_strings_panel(G_OBJECT(result));
ditem = gtk_dock_item_new(_("Strings"), panel);