diff options
author | Milan Crha <mcrha@redhat.com> | 2010-12-22 04:11:10 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-12-22 04:11:10 +0800 |
commit | e861630f113e4dcff45bbc2684310c793838f384 (patch) | |
tree | 034e0f4ce0883ab2c7caca63835c595599ce1d8f /composer/e-composer-actions.c | |
parent | 74098399cc5fe7e07b32439952272101f86b8502 (diff) | |
download | gsoc2013-evolution-e861630f113e4dcff45bbc2684310c793838f384.tar gsoc2013-evolution-e861630f113e4dcff45bbc2684310c793838f384.tar.gz gsoc2013-evolution-e861630f113e4dcff45bbc2684310c793838f384.tar.bz2 gsoc2013-evolution-e861630f113e4dcff45bbc2684310c793838f384.tar.lz gsoc2013-evolution-e861630f113e4dcff45bbc2684310c793838f384.tar.xz gsoc2013-evolution-e861630f113e4dcff45bbc2684310c793838f384.tar.zst gsoc2013-evolution-e861630f113e4dcff45bbc2684310c793838f384.zip |
Bug #567879 - Add View >> Gallery Option In Email Composer
Diffstat (limited to 'composer/e-composer-actions.c')
-rw-r--r-- | composer/e-composer-actions.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/composer/e-composer-actions.c b/composer/e-composer-actions.c index 3b2aabfefc..1f1cb44a7c 100644 --- a/composer/e-composer-actions.c +++ b/composer/e-composer-actions.c @@ -353,6 +353,14 @@ static GtkToggleActionEntry toggle_entries[] = { G_CALLBACK (action_pgp_sign_cb), FALSE }, + { "picture-gallery", + "emblem-photos", + N_("_Picture Gallery"), + NULL, + N_("Show a collection of pictures that you can drag to your message"), + NULL, /* no callback */ + FALSE }, + { "prioritize-message", NULL, N_("_Prioritize Message"), @@ -461,9 +469,17 @@ e_composer_actions_init (EMsgComposer *composer) ACTION (ATTACH), "short-label", _("Attach"), NULL); g_object_set ( + ACTION (PICTURE_GALLERY), "is-important", TRUE, NULL); + + g_object_set ( ACTION (SAVE_DRAFT), "short-label", _("Save Draft"), NULL); g_object_bind_property ( + composer, "html-mode", + ACTION (PICTURE_GALLERY), "sensitive", + G_BINDING_SYNC_CREATE); + + g_object_bind_property ( web_view, "editable", GTKHTML_EDITOR_ACTION_EDIT_MENU (editor), "sensitive", G_BINDING_SYNC_CREATE); |