summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ld-window-main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index 9ca680a..2f2559e 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -27,6 +27,7 @@ struct _LdWindowMainPrivate
GtkWidget *menu;
GtkWidget *toolbar;
GtkWidget *library_toolbar;
+ GtkWidget *library_pane;
LdLibrary *library;
@@ -271,6 +272,8 @@ ld_window_main_init (LdWindowMain *self)
gtk_toolbar_set_orientation (GTK_TOOLBAR (priv->library_toolbar),
GTK_ORIENTATION_VERTICAL);
+ priv->library_pane = ld_library_pane_new ();
+
priv->view = LD_DIAGRAM_VIEW (ld_diagram_view_new ());
priv->scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (priv->scrolled_window),
@@ -290,6 +293,8 @@ ld_window_main_init (LdWindowMain *self)
FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (priv->hbox), priv->scrolled_window,
TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (priv->hbox), priv->library_pane,
+ TRUE, TRUE, 0);
priv->vbox = gtk_vbox_new (FALSE, 0);
gtk_box_pack_start (GTK_BOX (priv->vbox), priv->menu, FALSE, FALSE, 0);
@@ -334,6 +339,9 @@ ld_window_main_init (LdWindowMain *self)
ld_library_toolbar_set_view (LD_LIBRARY_TOOLBAR (priv->library_toolbar),
priv->view);
+ ld_library_pane_set_library (LD_LIBRARY_PANE (priv->library_pane),
+ priv->library);
+
g_signal_connect_after (priv->library_toolbar, "symbol-selected",
G_CALLBACK (on_symbol_selected), self);
g_signal_connect_after (priv->library_toolbar, "symbol-deselected",