[evolution/wip/webkit2] EHTMLEditorActions - Disable HTML actions in	plain text mode
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [evolution/wip/webkit2] EHTMLEditorActions - Disable HTML actions in	plain text mode
- Date: Wed, 29 Jun 2016 15:07:39 +0000 (UTC)
commit 0ca2429d5e2eb097aa71655580f85d29d2dd0051
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Jun 29 11:44:34 2016 +0200
    EHTMLEditorActions - Disable HTML actions in plain text mode
    
    They were just hidden and we could trigger them with a shortcuts i.e.
    Control + B made the selected text bold.
 e-util/e-html-editor-actions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-actions.c b/e-util/e-html-editor-actions.c
index cf5fc31..d169740 100644
--- a/e-util/e-html-editor-actions.c
+++ b/e-util/e-html-editor-actions.c
@@ -482,6 +482,7 @@ action_mode_cb (GtkRadioAction *action,
 
        action_group = editor->priv->html_actions;
        gtk_action_group_set_visible (action_group, is_html);
+       gtk_action_group_set_sensitive (action_group, is_html);
 
        action_group = editor->priv->html_context_actions;
        gtk_action_group_set_visible (action_group, is_html);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]