aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2003-01-15 00:42:58 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-01-15 00:42:58 +0800
commitc2c386e480e6e0f8ae83d4093edb222cdd84cdc5 (patch)
tree57b3a5a5681af2997520c183bc3a7f0fcc910d73 /mail/folder-browser.c
parente220812ac4ad4584f2063b83ad71dcc3adf2f559 (diff)
downloadgsoc2013-evolution-c2c386e480e6e0f8ae83d4093edb222cdd84cdc5.tar.gz
gsoc2013-evolution-c2c386e480e6e0f8ae83d4093edb222cdd84cdc5.tar.zst
gsoc2013-evolution-c2c386e480e6e0f8ae83d4093edb222cdd84cdc5.zip
EScrollFrame --> GtkScrolledWindow
svn path=/trunk/; revision=19440
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 68b10ee6c3..b2cd8db6a3 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1108,7 +1108,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 = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (fb->message_list));
+ adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (fb->message_list));
y += adj->value - ((paned_size - height) / 2);
return y;
@@ -1122,7 +1122,7 @@ set_cursor_pos (FolderBrowser *fb, int y)
if (y == -1)
return;
- adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (fb->message_list));
+ adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (fb->message_list));
gtk_adjustment_set_value (adj, (gfloat)y);
}
@@ -2256,7 +2256,7 @@ etree_key (ETree *tree, int row, ETreePath path, int col, GdkEvent *ev, FolderBr
if ((ev->key.state & GDK_CONTROL_MASK) != 0)
return FALSE;
- vadj = e_scroll_frame_get_vadjustment (fb->mail_display->scroll);
+ vadj = gtk_scrolled_window_get_vadjustment (fb->mail_display->scroll);
page_size = vadj->page_size - vadj->step_increment;
switch (ev->key.keyval) {