aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-29 18:08:59 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-29 18:08:59 +0800
commitc7d7f8867138261f251e66ade0661f5aa22ab7d7 (patch)
treeacf17cd98cb146d2a6b5ba764879ab3cb9a9cb74 /widgets/misc
parent95d422b0c016e4b8c60100dc47b2e70ad6b2757a (diff)
downloadgsoc2013-evolution-c7d7f8867138261f251e66ade0661f5aa22ab7d7.tar
gsoc2013-evolution-c7d7f8867138261f251e66ade0661f5aa22ab7d7.tar.gz
gsoc2013-evolution-c7d7f8867138261f251e66ade0661f5aa22ab7d7.tar.bz2
gsoc2013-evolution-c7d7f8867138261f251e66ade0661f5aa22ab7d7.tar.lz
gsoc2013-evolution-c7d7f8867138261f251e66ade0661f5aa22ab7d7.tar.xz
gsoc2013-evolution-c7d7f8867138261f251e66ade0661f5aa22ab7d7.tar.zst
gsoc2013-evolution-c7d7f8867138261f251e66ade0661f5aa22ab7d7.zip
Bug #631982 - Hide Page properties in signature editor
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-signature-editor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c
index d3b50af236..6a18d58b8d 100644
--- a/widgets/misc/e-signature-editor.c
+++ b/widgets/misc/e-signature-editor.c
@@ -418,6 +418,13 @@ e_signature_editor_init (ESignatureEditor *editor)
gtk_ui_manager_insert_action_group (ui_manager, action_group, 0);
editor->priv->action_group = g_object_ref (action_group);
+ /* hide page properties, because it is not inherited in the mail */
+ action = gtkhtml_editor_get_action (gtkhtml_editor, "properties-page");
+ gtk_action_set_visible (action, FALSE);
+
+ action = gtkhtml_editor_get_action (gtkhtml_editor, "context-properties-page");
+ gtk_action_set_visible (action, FALSE);
+
gtk_ui_manager_ensure_update (ui_manager);
gtk_window_set_title (GTK_WINDOW (editor), _("Edit Signature"));