diff options
author | Radek Doulik <rodo@src.gnome.org> | 2003-02-05 03:03:02 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2003-02-05 03:03:02 +0800 |
commit | a5e82f72f8c57fe3173a61bf52127990ad62ee73 (patch) | |
tree | b1950b9561176dcadd556b4f1bbf73d1bd7a2af9 /mail | |
parent | 9a00cb72159c2bc69f4b76fc211479ffa6f4c83f (diff) | |
download | gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.gz gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.bz2 gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.lz gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.xz gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.zst gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.zip |
updated for e scroll frame --> gtk scrolled window
svn path=/trunk/; revision=19736
Diffstat (limited to 'mail')
-rw-r--r-- | mail/folder-browser.c | 4 | ||||
-rw-r--r-- | mail/message-list.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index a29031d84b..eaf1bae3a6 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1106,7 +1106,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; @@ -1120,7 +1120,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); } diff --git a/mail/message-list.c b/mail/message-list.c index 1d442c52f5..4223dbdcc9 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1243,7 +1243,7 @@ message_list_init (GtkObject *object) { MessageList *message_list = MESSAGE_LIST (object); - e_scroll_frame_set_policy (E_SCROLL_FRAME (message_list), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (message_list), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); message_list->normalised_hash = g_hash_table_new (g_str_hash, g_str_equal); |