[ghex] Update overview when deleting a character with the 'DEL' key
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] Update overview when deleting a character with the 'DEL' key
- Date: Wed, 3 Aug 2011 07:36:47 +0000 (UTC)
commit 8e27627d0df8efa7b46f10c31943a8a46aa89e5d
Author: Kalev Lember <kalevlember gmail com>
Date: Wed Aug 3 10:25:47 2011 +0300
Update overview when deleting a character with the 'DEL' key
Thanks to xenoborg googlemail com for the patch.
https://bugzilla.gnome.org/show_bug.cgi?id=548438
src/gtkhex.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gtkhex.c b/src/gtkhex.c
index 5ced4c5..e9fa0e8 100644
--- a/src/gtkhex.c
+++ b/src/gtkhex.c
@@ -1699,6 +1699,7 @@ static gboolean gtk_hex_key_press(GtkWidget *w, GdkEventKey *event) {
if(gh->cursor_pos < gh->document->file_size) {
hex_document_set_data(gh->document, gh->cursor_pos,
0, 1, NULL, TRUE);
+ gtk_hex_set_cursor(gh, gh->cursor_pos);
}
break;
case GDK_KEY_Up:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]