[gtkhtml] All "select-all" command in read-only mode.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkhtml] All "select-all" command in read-only mode.
- Date: Thu, 12 Nov 2009 20:48:37 +0000 (UTC)
commit 4d836c20c8fd10a4b9dc9be9dda9e03bf503d8e0
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Nov 12 15:46:47 2009 -0500
All "select-all" command in read-only mode.
gtkhtml/gtkhtml.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtkhtml/gtkhtml.c b/gtkhtml/gtkhtml.c
index e78ba1d..aad99da 100644
--- a/gtkhtml/gtkhtml.c
+++ b/gtkhtml/gtkhtml.c
@@ -5150,6 +5150,9 @@ command (GtkHTML *html, GtkHTMLCommandType com_type)
rv = move_selection (html, com_type);
}
break;
+ case GTK_HTML_COMMAND_SELECT_ALL:
+ gtk_html_select_all (html);
+ break;
case GTK_HTML_COMMAND_EDITABLE_ON:
gtk_html_set_editable (html, TRUE);
break;
@@ -5430,9 +5433,6 @@ command (GtkHTML *html, GtkHTMLCommandType com_type)
case GTK_HTML_COMMAND_SELECT_PARAGRAPH_EXTENDED:
gtk_html_select_paragraph_extended (html);
break;
- case GTK_HTML_COMMAND_SELECT_ALL:
- gtk_html_select_all (html);
- break;
case GTK_HTML_COMMAND_CURSOR_POSITION_SAVE:
html_engine_edit_cursor_position_save (html->engine);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]