summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-20 23:09:13 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-20 23:09:13 (GMT)
commitea40f74566cd813722f49ae740ca3df04e522bb2 (patch)
tree7a61557efa0a80fcf3b58df9626f7fad9bd61455 /src/gui
parent874b812e720a8f9fb6248cb54e76bd8ab2b2a250 (diff)
Transmitted the focus when a limit has been reached while using he keyboard.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@514 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/status.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/status.c b/src/gui/status.c
index 07e8254..2637f28 100644
--- a/src/gui/status.c
+++ b/src/gui/status.c
@@ -288,6 +288,17 @@ static void track_caret_address_on_buffer_views(GtkBufferView *view, const vmpa2
msize = g_arch_processor_get_memory_size(proc);
g_object_unref(G_OBJECT(proc));
+ /* RĂ©initiation seule si il n'y a plus d'adresse... */
+
+ if (addr == NULL)
+ {
+ if (info->msg_id > 0)
+ gtk_extended_status_bar_remove(GTK_EXT_STATUS_BAR(item->widget), info->msg_id);
+
+ return;
+
+ }
+
/* Adresse brute */
msize = g_arch_processor_get_memory_size(proc);