diff options
-rw-r--r-- | mail/ChangeLog | 14 | ||||
-rw-r--r-- | mail/folder-browser.c | 4 | ||||
-rw-r--r-- | mail/mail-display.c | 3 | ||||
-rw-r--r-- | mail/message-list.c | 3 |
4 files changed, 18 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f97bc2df27..d7955dac47 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,17 @@ +2001-07-19 Jason Leach <jleach@ximian.com> + + * 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). + 2001-07-19 Peter Williams <peterw@ximian.com> Track the NoSelect changes in Camel. diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 8f9c886c63..0d3d0545a9 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1788,10 +1788,6 @@ my_folder_browser_init (GtkObject *object) fb->preview_shown = TRUE; - e_scroll_frame_set_policy(E_SCROLL_FRAME(fb->message_list), - GTK_POLICY_NEVER, - GTK_POLICY_ALWAYS); - gtk_signal_connect (GTK_OBJECT (fb->mail_display->html), "key_press_event", GTK_SIGNAL_FUNC (on_key_press), fb); diff --git a/mail/mail-display.c b/mail/mail-display.c index 53251430d1..974d755602 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -1844,7 +1844,8 @@ mail_display_new (void) scroll = e_scroll_frame_new (NULL, NULL); e_scroll_frame_set_policy (E_SCROLL_FRAME (scroll), - GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); + GTK_POLICY_AUTOMATIC, + GTK_POLICY_AUTOMATIC); e_scroll_frame_set_shadow_type (E_SCROLL_FRAME (scroll), GTK_SHADOW_IN); gtk_box_pack_start_defaults (GTK_BOX (mail_display), GTK_WIDGET (scroll)); gtk_widget_show (GTK_WIDGET (scroll)); 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; |