[evolution/wip/webkit2] Signature preview does not have a frame
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Signature preview does not have a frame
- Date: Fri, 29 Jul 2016 10:49:15 +0000 (UTC)
commit 941a6f2385d9759eebda6d2a055f2ca3bfcee908
Author: Tomas Popela <tpopela redhat com>
Date: Fri Jul 29 12:48:27 2016 +0200
Signature preview does not have a frame
e-util/e-mail-signature-manager.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-mail-signature-manager.c b/e-util/e-mail-signature-manager.c
index f9a83f0..e202039 100644
--- a/e-util/e-mail-signature-manager.c
+++ b/e-util/e-mail-signature-manager.c
@@ -44,6 +44,7 @@ struct _EMailSignatureManagerPrivate {
GtkWidget *edit_button; /* not referenced */
GtkWidget *remove_button; /* not referenced */
GtkWidget *preview; /* not referenced */
+ GtkWidget *preview_frame; /* not referenced */
gboolean prefer_html;
};
@@ -376,8 +377,16 @@ mail_signature_manager_constructed (GObject *object)
container = GTK_WIDGET (manager);
- widget = e_mail_signature_preview_new (registry);
+ widget = gtk_frame_new (NULL);
+ gtk_frame_set_shadow_type (GTK_FRAME (widget), GTK_SHADOW_IN);
gtk_paned_pack2 (GTK_PANED (container), widget, FALSE, FALSE);
+ manager->priv->preview_frame = widget; /* not referenced */
+ gtk_widget_show (widget);
+
+ container = widget;
+
+ widget = e_mail_signature_preview_new (registry);
+ gtk_container_add (GTK_CONTAINER (container), widget);
manager->priv->preview = widget; /* not referenced */
gtk_widget_show (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]