From 400b1300609256de46e00e6e1856680a6322d06d Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Thu, 19 Jul 2001 21:45:06 +0000 Subject: Set the vertical scrolling policy for the mail display to AUTOMATIC, only 2001-07-19 Jason Leach * mail-display.c (mail_display_new): Set the vertical scrolling policy for the mail display to AUTOMATIC, only get a scrollbar if the e-mail is longer than one frame. * folder-browser.c (my_folder_browser_init): We were setting the policy twice (and to two different things). Removed this one. * message-list.c (message_list_init): Set the policy for the message list scroll frame to be horizontal=NEVER, vertical=AUTOMATIC (scrollbar only if you have >1 page of messages). svn path=/trunk/; revision=11239 --- mail/message-list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/message-list.c') diff --git a/mail/message-list.c b/mail/message-list.c index c5f19abe9e..ffa922590a 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1077,7 +1077,8 @@ message_list_init (GtkObject *object) MessageList *message_list = MESSAGE_LIST (object); e_scroll_frame_set_policy (E_SCROLL_FRAME (message_list), - GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); + GTK_POLICY_NEVER, + GTK_POLICY_AUTOMATIC); message_list->hidden = NULL; message_list->hidden_pool = NULL; -- cgit v1.2.3