summaryrefslogtreecommitdiff
path: root/src/analysis/project.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-03-09 18:04:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-03-09 18:04:49 (GMT)
commitdc8a2b19dbb32bfe49b1ff6640cc609238b392ca (patch)
tree2103c99baeb3b792bc82fc3db28bd16ecf72b70e /src/analysis/project.c
parentf8f804cf7ff9a62404b843cf303c762101572784 (diff)
Stored and loaded panels attributes using the global configuration.
Diffstat (limited to 'src/analysis/project.c')
-rw-r--r--src/analysis/project.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/analysis/project.c b/src/analysis/project.c
index 08df9d8..96d7e40 100644
--- a/src/analysis/project.c
+++ b/src/analysis/project.c
@@ -595,8 +595,7 @@ void g_study_project_add_loaded_binary(GLoadedBinary *binary, GStudyProject *pro
g_signal_connect(project->binaries[index]->views[BVW_BLOCK], "size-allocate",
G_CALLBACK(scroll_for_the_first_time), binary);
- /* FIXME : les panneaux sont incrustés d'office ! */
- //g_panel_item_dock(project->binaries[index]->item);
+ g_panel_item_dock(project->binaries[index]->item);
}
@@ -668,8 +667,8 @@ size_t g_study_project_attach_binary(GStudyProject *project, GLoadedBinary *bina
name = g_loaded_binary_get_name(binary, false);
lname = g_loaded_binary_get_name(binary, true);
- loaded->item = g_panel_item_new(PIP_BINARY_VIEW, name, lname, scroll, "N");
- register_panel_item(loaded->item, project->ref);
+ loaded->item = g_panel_item_new(PIP_BINARY_VIEW, name, lname, scroll, true, "N");
+ register_panel_item(loaded->item, project->ref, get_main_configuration());
/* Enregistrement dans le projet */
@@ -784,8 +783,7 @@ void g_study_project_display(const GStudyProject *project)
size_t i; /* Boucle de parcours */
for (i = 0; i < project->binaries_count; i++)
- /* FIXME : les panneaux sont incrustés d'office ! */
- ;//g_panel_item_dock(project->binaries[i]->item);
+ g_panel_item_dock(project->binaries[i]->item);
}