diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-25 07:01:07 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-25 07:01:07 +0800 |
commit | 56edf691d72e71ef116d448dcf4f43193ec1e78e (patch) | |
tree | 8b2e1de8f29293ba599e4b8e0e2bdb3ea36379cd /mail/component-factory.c | |
parent | d0b65dc453ad175231701eba53f12d07757d7a61 (diff) | |
download | gsoc2013-evolution-56edf691d72e71ef116d448dcf4f43193ec1e78e.tar gsoc2013-evolution-56edf691d72e71ef116d448dcf4f43193ec1e78e.tar.gz gsoc2013-evolution-56edf691d72e71ef116d448dcf4f43193ec1e78e.tar.bz2 gsoc2013-evolution-56edf691d72e71ef116d448dcf4f43193ec1e78e.tar.lz gsoc2013-evolution-56edf691d72e71ef116d448dcf4f43193ec1e78e.tar.xz gsoc2013-evolution-56edf691d72e71ef116d448dcf4f43193ec1e78e.tar.zst gsoc2013-evolution-56edf691d72e71ef116d448dcf4f43193ec1e78e.zip |
Fix for bug #5174.
2001-07-24 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (create_view): Fix for bug #5174.
svn path=/trunk/; revision=11368
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index d7fb1ee8f9..6b8d8a4984 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -128,8 +128,10 @@ create_view (EvolutionShellComponent *shell_component, corba_shell = bonobo_object_corba_objref (BONOBO_OBJECT (shell_client)); if (g_strcasecmp (folder_type, "mail") == 0) { - /* hack-tastic! */ - if (strstr (physical_uri, "noselect=yes")) + CamelURL *url; + + url = camel_url_new (physical_uri, NULL); + if (url && !g_strcasecmp (camel_url_get_param (url, "noselect"), "yes")) control = create_noselect_control (); else control = folder_browser_factory_new_control (physical_uri, |