aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-private.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-21 05:34:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-21 05:34:27 +0800
commit402166be5496cfaf5ac5908702d74f02fce4c1e7 (patch)
tree845be52f9cf34df15d20510083e0d2041da1be44 /composer/e-composer-private.c
parentb1ec17309b2aafb9b8aa2e1e39be9748fbe89030 (diff)
downloadgsoc2013-evolution-402166be5496cfaf5ac5908702d74f02fce4c1e7.tar.gz
gsoc2013-evolution-402166be5496cfaf5ac5908702d74f02fce4c1e7.tar.zst
gsoc2013-evolution-402166be5496cfaf5ac5908702d74f02fce4c1e7.zip
Composer: Only hide single From account in express mode.
At least until we have another way to insert signatures. Obvious solution: Insert -> Signature -> (list of your signatures)
Diffstat (limited to 'composer/e-composer-private.c')
-rw-r--r--composer/e-composer-private.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index 22b4565f4b..df29267805 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -127,6 +127,7 @@ void
e_composer_private_constructed (EMsgComposer *composer)
{
EMsgComposerPrivate *priv = composer->priv;
+ EShell *shell;
EFocusTracker *focus_tracker;
GtkhtmlEditor *editor;
GtkUIManager *ui_manager;
@@ -145,6 +146,8 @@ e_composer_private_constructed (EMsgComposer *composer)
html = gtkhtml_editor_get_html (editor);
ui_manager = gtkhtml_editor_get_ui_manager (editor);
+ shell = e_shell_get_default ();
+
if (e_msg_composer_get_lite ()) {
#if 0
/* In the lite composer, for small screens, we are not ready yet
@@ -249,7 +252,7 @@ e_composer_private_constructed (EMsgComposer *composer)
container = editor->vbox;
- widget = e_composer_header_table_new ();
+ widget = e_composer_header_table_new (shell);
gtk_container_set_border_width (GTK_CONTAINER (widget), 6);
gtk_box_pack_start (GTK_BOX (editor->vbox), widget, FALSE, FALSE, 0);
if (e_msg_composer_get_lite ())