[anjal] Make composer use full width for inline reply.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Make composer use full width for inline reply.
- Date: Mon, 27 Jul 2009 17:27:48 +0000 (UTC)
commit 9e88dc03a94b0b033db42d6dc1e56c14fefbbc7c
Author: Srinivasa Ragavan <sragavan novell com>
Date: Mon Jul 27 17:46:26 2009 +0530
Make composer use full width for inline reply.
src/mail-message-view.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/mail-message-view.c b/src/mail-message-view.c
index 5511757..7a1484b 100644
--- a/src/mail-message-view.c
+++ b/src/mail-message-view.c
@@ -490,7 +490,7 @@ construct_reply_composer (MailMessageView *mmv, int mode)
if (mode != mmv->priv->mode)
discard_composer_cb (NULL, mmv);
if (!mmv->composer) {
- GtkWidget *box = gtk_vbox_new (FALSE, 0);
+ GtkWidget *box = gtk_vbox_new (FALSE, 0), *tmp;
gtk_widget_show(box);
if (mode != -1)
@@ -513,7 +513,11 @@ construct_reply_composer (MailMessageView *mmv, int mode)
e_composer_header_table_set_header_visible (table, E_COMPOSER_HEADER_FROM, FALSE);
e_composer_header_table_set_header_visible (table, E_COMPOSER_HEADER_SUBJECT, FALSE);
gtk_container_add ((GtkContainer *)mmv->frame, box);
- gtk_box_pack_start ((GtkBox *)mmv->cbox, mmv->frame, TRUE, TRUE, 36);
+ tmp = gtk_alignment_new (0.5, 0.5, 1.0, 1.0);
+ gtk_alignment_set_padding (tmp, 0, 0, 0, 20);
+ gtk_widget_show (tmp);
+ gtk_box_pack_start ((GtkBox *)mmv->cbox, tmp, FALSE, FALSE, 18);
+ gtk_box_pack_start ((GtkBox *)mmv->cbox, mmv->frame, TRUE, TRUE, 6);
gtk_box_pack_start ((GtkBox *)mmv, mmv->cbox, FALSE, FALSE, 6);
g_signal_connect (mmv->composer, "send", G_CALLBACK(mmv_mail_send), mmv);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]