[evolution/wip/webkit-composer: 364/372] EComposerActions: When composer is not editable make more actions insensitive
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 364/372] EComposerActions: When composer is not editable make more actions insensitive
- Date: Thu, 6 Feb 2014 11:54:06 +0000 (UTC)
commit 85a5916dd57833faf595205dabaa4b401b39f3cc
Author: Tomas Popela <tpopela redhat com>
Date: Thu Feb 6 09:23:37 2014 +0100
EComposerActions: When composer is not editable make more actions insensitive
composer/e-composer-actions.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-composer-actions.c b/composer/e-composer-actions.c
index 75a8d6a..7630adb 100644
--- a/composer/e-composer-actions.c
+++ b/composer/e-composer-actions.c
@@ -525,6 +525,16 @@ e_composer_actions_init (EMsgComposer *composer)
e_editor_get_action (editor, "insert-menu"), "sensitive",
G_BINDING_SYNC_CREATE);
+ g_object_bind_property (
+ editor_widget, "editable",
+ e_editor_get_action (editor, "options-menu"), "sensitive",
+ G_BINDING_SYNC_CREATE);
+
+ g_object_bind_property (
+ editor_widget, "editable",
+ e_editor_get_action (editor, "picture-gallery"), "sensitive",
+ G_BINDING_SYNC_CREATE);
+
#if defined (HAVE_NSS)
visible = TRUE;
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]