diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-28 03:02:42 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-28 03:02:42 +0800 |
commit | 45701621c5447e0a106912bfe498a044d4cb2119 (patch) | |
tree | 147b34f5bd4c3c419961b9549cff35f6996d12b9 /mail/folder-browser-ui.c | |
parent | c3ccc6c5476928a2581888aaca63fa289f5f9f37 (diff) | |
download | gsoc2013-evolution-45701621c5447e0a106912bfe498a044d4cb2119.tar.gz gsoc2013-evolution-45701621c5447e0a106912bfe498a044d4cb2119.tar.zst gsoc2013-evolution-45701621c5447e0a106912bfe498a044d4cb2119.zip |
Don't need this anymore. (do_get_pass): Since we already have the entry
2001-07-27 Jeffrey Stedfast <fejj@ximian.com>
* mail-mt.c (focus_on_entry): Don't need this anymore.
(do_get_pass): Since we already have the entry widget, no need to
do the nasty focus_on_entry hack.
svn path=/trunk/; revision=11453
Diffstat (limited to 'mail/folder-browser-ui.c')
-rw-r--r-- | mail/folder-browser-ui.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c index 255e553a03..8c659b5fe9 100644 --- a/mail/folder-browser-ui.c +++ b/mail/folder-browser-ui.c @@ -310,16 +310,15 @@ folder_browser_ui_add_list (FolderBrowser *fb) { int state; BonoboUIComponent *uic = fb->uicomp; - + ui_add (fb, "list", list_verbs, list_pixcache); - + /* Hide Deleted */ - - if (fb->folder && CAMEL_IS_VTRASH_FOLDER(fb->folder)) { - bonobo_ui_component_set_prop(uic, "/commands/HideDeleted", "sensitive", "0", NULL); + if (fb->folder && CAMEL_IS_VTRASH_FOLDER (fb->folder)) { + bonobo_ui_component_set_prop (uic, "/commands/HideDeleted", "sensitive", "0", NULL); state = FALSE; } else { - state = mail_config_get_hide_deleted(); + 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, @@ -327,21 +326,18 @@ folder_browser_ui_add_list (FolderBrowser *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_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); - + /* View menu */ - folder_browser_setup_view_menus (fb, fb->uicomp); } @@ -349,7 +345,6 @@ void folder_browser_ui_rm_list (FolderBrowser *fb) { /* View menu */ - folder_browser_discard_view_menus (fb); } |