diff options
author | Milan Crha <mcrha@redhat.com> | 2010-12-22 04:11:10 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:13 +0800 |
commit | 97fac153c5e0099774de9960ae14a0dced8d7cab (patch) | |
tree | 3b91aa477ed64d5645eb2719718cf853b8eaf70b /composer/e-composer-actions.c | |
parent | c3d6ab4b55699dfde141fc1c89e759bda14db38b (diff) | |
download | gsoc2013-evolution-97fac153c5e0099774de9960ae14a0dced8d7cab.tar gsoc2013-evolution-97fac153c5e0099774de9960ae14a0dced8d7cab.tar.gz gsoc2013-evolution-97fac153c5e0099774de9960ae14a0dced8d7cab.tar.bz2 gsoc2013-evolution-97fac153c5e0099774de9960ae14a0dced8d7cab.tar.lz gsoc2013-evolution-97fac153c5e0099774de9960ae14a0dced8d7cab.tar.xz gsoc2013-evolution-97fac153c5e0099774de9960ae14a0dced8d7cab.tar.zst gsoc2013-evolution-97fac153c5e0099774de9960ae14a0dced8d7cab.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); |