[evolution-patches] Patch to fix scrollbar policy in mail/
- From: Rodney Dawes <dobey novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] Patch to fix scrollbar policy in mail/
- Date: Mon, 14 Feb 2005 13:47:53 -0500
This patch fixes the scrollbar policy in the mailer to match the rest of
the desktop. It changes the vertical scrollbar to AUTOMATIC instead of
ALWAYS, so that it isn't shown when not needed.
-- dobey
? mail/default/zh_CN/Makefile
? mail/default/zh_CN/Makefile.in
Index: mail/em-folder-browser.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-folder-browser.c,v
retrieving revision 1.57
diff -u -p -r1.57 em-folder-browser.c
--- mail/em-folder-browser.c 1 Feb 2005 19:30:49 -0000 1.57
+++ mail/em-folder-browser.c 14 Feb 2005 18:31:34 -0000
@@ -205,7 +205,7 @@ emfb_init(GObject *o)
/* currently: just use a scrolledwindow for preview widget */
p->preview = gtk_scrolled_window_new(NULL, NULL);
- gtk_scrolled_window_set_policy((GtkScrolledWindow *)p->preview, GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
+ gtk_scrolled_window_set_policy((GtkScrolledWindow *)p->preview, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type((GtkScrolledWindow *)p->preview, GTK_SHADOW_IN);
gtk_widget_show(p->preview);
Index: mail/em-message-browser.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-message-browser.c,v
retrieving revision 1.22
diff -u -p -r1.22 em-message-browser.c
--- mail/em-message-browser.c 28 Oct 2004 09:25:26 -0000 1.22
+++ mail/em-message-browser.c 14 Feb 2005 18:31:34 -0000
@@ -74,7 +74,7 @@ emmb_init(GObject *o)
/* currently: just use a scrolledwindow for preview widget */
p->preview = gtk_scrolled_window_new(NULL, NULL);
- gtk_scrolled_window_set_policy((GtkScrolledWindow *)p->preview, GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
+ gtk_scrolled_window_set_policy((GtkScrolledWindow *)p->preview, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type((GtkScrolledWindow *)p->preview, GTK_SHADOW_IN);
gtk_widget_show(p->preview);
Index: mail/message-list.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/message-list.c,v
retrieving revision 1.409
diff -u -p -r1.409 message-list.c
--- mail/message-list.c 3 Feb 2005 18:38:28 -0000 1.409
+++ mail/message-list.c 14 Feb 2005 18:31:34 -0000
@@ -1813,7 +1813,7 @@ message_list_init (MessageList *message_
adjustment = (GtkAdjustment *) gtk_adjustment_new (0.0, 0.0, G_MAXDOUBLE, 0.0, 0.0, 0.0);
gtk_scrolled_window_set_vadjustment ((GtkScrolledWindow *) message_list, adjustment);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (message_list), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (message_list), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
message_list->normalised_hash = g_hash_table_new (g_str_hash, g_str_equal);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]