diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2006-01-13 16:22:48 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2006-01-13 16:22:48 +0800 |
commit | 93495d47a0e8d1aaa522b41700f78a9b42595b22 (patch) | |
tree | 0fb8e5af40b6cc039a36a469204ac0cf3bc1a020 /mail/message-list.c | |
parent | 8496b2eafbed44f3730c5b8ccb98050fdd3e8206 (diff) | |
download | gsoc2013-evolution-93495d47a0e8d1aaa522b41700f78a9b42595b22.tar.gz gsoc2013-evolution-93495d47a0e8d1aaa522b41700f78a9b42595b22.tar.zst gsoc2013-evolution-93495d47a0e8d1aaa522b41700f78a9b42595b22.zip |
Fixes the scroll issue with the message list.
2006-01-13 Srinivasa Ragavan <sragavan@novell.com>
* em-folder-browser.c: (emfb_etree_unfreeze), (emfb_list_built):
* message-list.c: (message_list_setup_etree):
Fixes the scroll issue with the message list.
svn path=/trunk/; revision=31156
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 8741c85c5b..f95624ee04 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1508,6 +1508,7 @@ message_list_setup_etree (MessageList *message_list, gboolean outgoing) char *path; char *name; struct stat st; + ETableItem *item = e_tree_get_item (message_list->tree); g_object_set (message_list->tree, "uniform_row_height", TRUE, @@ -1517,6 +1518,8 @@ message_list_setup_etree (MessageList *message_list, gboolean outgoing) d(printf ("folder name is '%s'\n", name)); path = mail_config_folder_to_cachename (message_list->folder, "et-expanded-"); + g_object_set_data (((GnomeCanvasItem *) item)->canvas, "freeze-cursor", 1); + if (path && g_stat (path, &st) == 0 && st.st_size > 0 && S_ISREG (st.st_mode)) { /* build based on saved file */ e_tree_load_expanded_state (message_list->tree, path); |