summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/db/items/move.c3
-rw-r--r--src/analysis/loaded.c6
-rw-r--r--src/analysis/loaded.h5
3 files changed, 12 insertions, 2 deletions
diff --git a/src/analysis/db/items/move.c b/src/analysis/db/items/move.c
index 5653649..1b1d5d2 100644
--- a/src/analysis/db/items/move.c
+++ b/src/analysis/db/items/move.c
@@ -38,7 +38,6 @@
#include "../../../gui/core/global.h"
#include "../../../glibext/gbinarycursor.h"
#include "../../../glibext/gloadedpanel.h"
-#include "../../../gtkext/gtkdisplaypanel.h" // REMME
@@ -444,7 +443,7 @@ static bool g_db_move_run(const GDbMove *move, GLineCursor *cursor)
gboolean do_move_in_main_loop(move_params *p)
{
- gtk_display_panel_scroll_to_cursor(p->panel, p->cursor, SPT_CENTER);
+ g_loaded_panel_scroll_to_cursor(p->panel, p->cursor, SPT_CENTER, true);
return G_SOURCE_REMOVE;
diff --git a/src/analysis/loaded.c b/src/analysis/loaded.c
index 5dd96a8..e65cb38 100644
--- a/src/analysis/loaded.c
+++ b/src/analysis/loaded.c
@@ -369,6 +369,12 @@ const char *g_loaded_content_describe(const GLoadedContent *content, bool full)
}
+
+/* ---------------------------------------------------------------------------------- */
+/* GESTION DYNAMIQUE DES VUES */
+/* ---------------------------------------------------------------------------------- */
+
+
/******************************************************************************
* *
* Paramètres : content = contenu chargé à consulter. *
diff --git a/src/analysis/loaded.h b/src/analysis/loaded.h
index 643e170..344d102 100644
--- a/src/analysis/loaded.h
+++ b/src/analysis/loaded.h
@@ -78,6 +78,11 @@ bool g_loaded_content_analyze_and_wait(GLoadedContent *);
/* Fournit le désignation associée à l'élément chargé. */
const char *g_loaded_content_describe(const GLoadedContent *, bool);
+
+
+/* --------------------------- GESTION DYNAMIQUE DES VUES --------------------------- */
+
+
/* Détermine le nombre de vues disponibles pour un contenu. */
unsigned int g_loaded_content_count_views(const GLoadedContent *);