[evolution] Bug #631982 - Hide Page properties in signature editor
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #631982 - Hide Page properties in signature editor
- Date: Fri, 29 Oct 2010 10:09:37 +0000 (UTC)
commit c7d7f8867138261f251e66ade0661f5aa22ab7d7
Author: Milan Crha <mcrha redhat com>
Date: Fri Oct 29 12:08:59 2010 +0200
Bug #631982 - Hide Page properties in signature editor
widgets/misc/e-signature-editor.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/widgets/misc/e-signature-editor.c b/widgets/misc/e-signature-editor.c
index d3b50af..6a18d58 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"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]