aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-07-14 14:06:37 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-07-14 14:06:37 +0800
commited9d8e72594a4bae293da6d69f9fda18e85fb587 (patch)
treea28700ecdbe29c3eca625ec9182c1c28d76edae5 /mail
parentbdb9837517ec842f97e839733a5b8b332081f5b7 (diff)
downloadgsoc2013-evolution-ed9d8e72594a4bae293da6d69f9fda18e85fb587.tar
gsoc2013-evolution-ed9d8e72594a4bae293da6d69f9fda18e85fb587.tar.gz
gsoc2013-evolution-ed9d8e72594a4bae293da6d69f9fda18e85fb587.tar.bz2
gsoc2013-evolution-ed9d8e72594a4bae293da6d69f9fda18e85fb587.tar.lz
gsoc2013-evolution-ed9d8e72594a4bae293da6d69f9fda18e85fb587.tar.xz
gsoc2013-evolution-ed9d8e72594a4bae293da6d69f9fda18e85fb587.tar.zst
gsoc2013-evolution-ed9d8e72594a4bae293da6d69f9fda18e85fb587.zip
Fixes bug #335241
svn path=/trunk/; revision=32310
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-send-recv.c15
2 files changed, 18 insertions, 3 deletions
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 <kushveen@novell.com>
+
+ ** Fixes bug #335241
+
+ * mail-send-recv.c: a scroll box added for the send recv popup dialog.
+
2006-07-14 Srinivasa Ragavan <sragavan@novell.com>
** 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 <gtk/gtklabel.h>
#include <gtk/gtkimage.h>
#include <gtk/gtkbox.h>
+#include <gtk/gtkscrolledwindow.h>
#include <libgnomeui/gnome-window-icon.h>
#include <libgnome/gnome-i18n.h>
@@ -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 ();