diff options
author | Radek Doulik <rodo@ximian.com> | 2003-01-15 04:58:20 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2003-01-15 04:58:20 +0800 |
commit | 0f1117954123779f282c9a71852bb195e9b2ed64 (patch) | |
tree | 4e334a6e54f90c7aa8de73ffcc40093f396847b4 /mail | |
parent | a03b38e8cfc4aaf8e694ac9611a561084aa7edad (diff) | |
download | gsoc2013-evolution-0f1117954123779f282c9a71852bb195e9b2ed64.tar gsoc2013-evolution-0f1117954123779f282c9a71852bb195e9b2ed64.tar.gz gsoc2013-evolution-0f1117954123779f282c9a71852bb195e9b2ed64.tar.bz2 gsoc2013-evolution-0f1117954123779f282c9a71852bb195e9b2ed64.tar.lz gsoc2013-evolution-0f1117954123779f282c9a71852bb195e9b2ed64.tar.xz gsoc2013-evolution-0f1117954123779f282c9a71852bb195e9b2ed64.tar.zst gsoc2013-evolution-0f1117954123779f282c9a71852bb195e9b2ed64.zip |
reverted fe casts and added ChageLog entries
2003-01-14 Radek Doulik <rodo@ximian.com>
* folder-browser.c (etree_key): use gtk_scrolled_window_*
functions for mail_display->scroll
* mail-display.c (mail_display_new): use gtk_scrolled_window_*
functions
* mail-display.h: use GtkScrolledWindow instead of EScrollFrame
svn path=/trunk/; revision=19463
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 10 | ||||
-rw-r--r-- | mail/folder-browser.c | 4 | ||||
-rw-r--r-- | mail/message-list.c | 2 |
3 files changed, 13 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 81b486a1d2..675d2050d1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,13 @@ +2003-01-14 Radek Doulik <rodo@ximian.com> + + * folder-browser.c (etree_key): use gtk_scrolled_window_* + functions for mail_display->scroll + + * mail-display.c (mail_display_new): use gtk_scrolled_window_* + functions + + * mail-display.h: use GtkScrolledWindow instead of EScrollFrame + 2003-01-14 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixmap_press): Change the user_data argument to diff --git a/mail/folder-browser.c b/mail/folder-browser.c index b0ed22370f..3836959a02 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1107,7 +1107,7 @@ save_cursor_pos (FolderBrowser *fb) gconf = gconf_client_get_default (); paned_size = gconf_client_get_int (gconf, "/apps/evolution/mail/display/paned_size", NULL); - adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (fb->message_list)); + adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (fb->message_list)); y += adj->value - ((paned_size - height) / 2); return y; @@ -1121,7 +1121,7 @@ set_cursor_pos (FolderBrowser *fb, int y) if (y == -1) return; - adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (fb->message_list)); + adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (fb->message_list)); gtk_adjustment_set_value (adj, (gfloat)y); } diff --git a/mail/message-list.c b/mail/message-list.c index d1df4b160c..9a0c550922 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1237,7 +1237,7 @@ message_list_init (GtkObject *object) { MessageList *message_list = MESSAGE_LIST (object); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (message_list), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); + e_scroll_frame_set_policy (E_SCROLL_FRAME (message_list), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); message_list->normalised_hash = g_hash_table_new (g_str_hash, g_str_equal); |