From ed9d8e72594a4bae293da6d69f9fda18e85fb587 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Fri, 14 Jul 2006 06:06:37 +0000 Subject: Fixes bug #335241 svn path=/trunk/; revision=32310 --- mail/ChangeLog | 6 ++++++ mail/mail-send-recv.c | 15 ++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 5f25965f35..99c6c13155 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2006-22-06 Ushveen Kaur + + ** Fixes bug #335241 + + * mail-send-recv.c: a scroll box added for the send recv popup dialog. + 2006-07-14 Srinivasa Ragavan ** Fix for bug #335747 diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 0821131363..00d8f81fff 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -315,7 +316,7 @@ build_dialog (EAccountList *accounts, CamelFolder *outbox, const char *destinati int row, num_sources; GList *list = NULL; struct _send_data *data; - GtkWidget *send_icon, *recv_icon; + GtkWidget *send_icon, *recv_icon,*scrolled_window; GtkLabel *label; EClippedLabel *status_label; GtkProgressBar *bar; @@ -363,8 +364,16 @@ build_dialog (EAccountList *accounts, CamelFolder *outbox, const char *destinati gtk_table_set_row_spacings (table, 6); gtk_table_set_col_spacings (table, 6); - gtk_box_pack_start (GTK_BOX (gd->vbox), GTK_WIDGET (table), TRUE, TRUE, 0); - + scrolled_window = gtk_scrolled_window_new (NULL, NULL); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window), + GTK_POLICY_AUTOMATIC, + GTK_POLICY_AUTOMATIC); + + gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scrolled_window), table); + gtk_box_pack_start (GTK_BOX (gd->vbox), scrolled_window,TRUE, TRUE, 0); + gtk_widget_set_usize (gd->vbox, 600,200); + gtk_widget_show (GTK_WIDGET (scrolled_window)); + /* must bet setup after send_recv_dialog as it may re-trigger send-recv button */ data = setup_send_data (); -- cgit v1.2.3