aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-29 04:12:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-29 04:12:37 +0800
commit12ab0a8e8587d4bc6a732c7c84ef2826fcbecf91 (patch)
tree7005b9068d81567a2895ab834bfbb0b3c305c1d3
parent40efc97ec79da165b6b80cedd47ab7ee767e10ad (diff)
downloadgsoc2013-evolution-12ab0a8e8587d4bc6a732c7c84ef2826fcbecf91.tar.gz
gsoc2013-evolution-12ab0a8e8587d4bc6a732c7c84ef2826fcbecf91.tar.zst
gsoc2013-evolution-12ab0a8e8587d4bc6a732c7c84ef2826fcbecf91.zip
Call folder_browser_toggle_threads() here after setting the value. This
2001-09-28 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-ui.c (folder_browser_ui_add_list): Call folder_browser_toggle_threads() here after setting the value. This should fix bug #6415 and if it doesn't, then this whole deal is just a lost cause. svn path=/trunk/; revision=13226
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser-ui.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e825dbc664..e59297fbce 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
+ * folder-browser-ui.c (folder_browser_ui_add_list): Call
+ folder_browser_toggle_threads() here after setting the value. This
+ should fix bug #6415 and if it doesn't, then this whole deal is
+ just a lost cause.
+
* mail-mt.h: Added mail_msg_cleanup() prototype.
2001-09-28 Dan Winship <danw@ximian.com>
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c
index ad2b45f452..bb07825712 100644
--- a/mail/folder-browser-ui.c
+++ b/mail/folder-browser-ui.c
@@ -335,16 +335,18 @@ folder_browser_ui_add_list (FolderBrowser *fb)
state = mail_config_get_hide_deleted ();
}
bonobo_ui_component_set_prop (uic, "/commands/HideDeleted", "state", state ? "1" : "0", NULL);
- bonobo_ui_component_add_listener (uic, "HideDeleted", folder_browser_toggle_hide_deleted,
- fb);
+ bonobo_ui_component_add_listener (uic, "HideDeleted", folder_browser_toggle_hide_deleted, fb);
/* FIXME: this kind of bypasses bonobo but seems the only way when we change components */
folder_browser_toggle_hide_deleted (uic, "", Bonobo_UIComponent_STATE_CHANGED,
state ? "1" : "0", fb);
/* Threaded toggle */
state = mail_config_get_thread_list (FOLDER_BROWSER (fb)->uri);
- bonobo_ui_component_add_listener (uic, "ViewThreaded", folder_browser_toggle_threads, fb);
bonobo_ui_component_set_prop (uic, "/commands/ViewThreaded", "state", state ? "1" : "0", NULL);
+ bonobo_ui_component_add_listener (uic, "ViewThreaded", folder_browser_toggle_threads, fb);
+ /* FIXME: this kind of bypasses bonobo but seems the only way when we change components */
+ folder_browser_toggle_threads (uic, "", Bonobo_UIComponent_STATE_CHANGED,
+ state ? "1" : "0", fb);
/* Property menu */
folder_browser_setup_property_menu (fb, fb->uicomp);