projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/modest-text-utils.[ch]:
[modest]
/
src
/
widgets
/
modest-recpt-editor.c
diff --git
a/src/widgets/modest-recpt-editor.c
b/src/widgets/modest-recpt-editor.c
index
150153c
..
6f4d1a1
100644
(file)
--- a/
src/widgets/modest-recpt-editor.c
+++ b/
src/widgets/modest-recpt-editor.c
@@
-636,7
+636,10
@@
modest_recpt_editor_on_key_press_event (GtkTextView *text_view,
return TRUE;
}
#else
- /* TODO: Alternative code. */
+ if (gtk_text_buffer_get_selection_bounds (buffer, NULL, NULL)) {
+ gtk_text_buffer_delete_selection (buffer, TRUE, TRUE);
+ return TRUE;
+ }
#endif
tag = prev_iter_has_recipient (&location);