aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-10-23 05:19:07 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-10-23 05:19:07 +0800
commite42e84e2bf7d38341ad44695cbf90df933d8c580 (patch)
treeb6829873a1cfab5aa6108fcea22403e7c0a2eba5 /mail
parentb2fb54f39b6f1a61625a9efbe09150e6a816eb92 (diff)
downloadgsoc2013-evolution-e42e84e2bf7d38341ad44695cbf90df933d8c580.tar
gsoc2013-evolution-e42e84e2bf7d38341ad44695cbf90df933d8c580.tar.gz
gsoc2013-evolution-e42e84e2bf7d38341ad44695cbf90df933d8c580.tar.bz2
gsoc2013-evolution-e42e84e2bf7d38341ad44695cbf90df933d8c580.tar.lz
gsoc2013-evolution-e42e84e2bf7d38341ad44695cbf90df933d8c580.tar.xz
gsoc2013-evolution-e42e84e2bf7d38341ad44695cbf90df933d8c580.tar.zst
gsoc2013-evolution-e42e84e2bf7d38341ad44695cbf90df933d8c580.zip
Make the vertical toolbar always visible in the message list and the
message view (patch pulled up from the evolution-0-6-branch). svn path=/trunk/; revision=6112
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-display.c2
-rw-r--r--mail/message-list.c5
3 files changed, 12 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 27eb8f8ef8..88f95297a2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2000-10-22 Ettore Perazzoli <ettore@helixcode.com>
+
+ * message-list.c (message_list_init): Always display the vertical
+ scrollbar.
+
+ * mail-display.c (mail_display_new): Always display the vertical
+ scrollbar.
+
2000-10-20 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config.h: #include <camel/camel-folder.h>
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 6757af1ca5..c2e576dec5 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -795,7 +795,7 @@ 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_AUTOMATIC);
+ GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
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 11c75ad9b5..c688456474 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -987,11 +987,12 @@ message_list_init (GtkObject *object)
spec = message_list_get_layout (message_list);
extras = message_list_create_extras();
- message_list->etable = e_table_scrolled_new (
- message_list->table_model, extras, spec, NULL);
+ message_list->etable = e_table_scrolled_new (message_list->table_model, extras, spec, NULL);
g_free (spec);
gtk_object_sink(GTK_OBJECT(extras));
+ e_scroll_frame_set_policy (E_SCROLL_FRAME (message_list->etable), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
+
gtk_object_set(GTK_OBJECT(message_list->etable),
"drawfocus", FALSE,
NULL);