* added Gmail/IMAP to our provider list, add (c), cleanup
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Sat, 1 Dec 2007 11:39:02 +0000 (11:39 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Sat, 1 Dec 2007 11:39:02 +0000 (11:39 +0000)
* some cosmetics

pmo-trunk-r3844

src/maemo/easysetup/maemo-provider-data.keyfile
src/maemo/easysetup/modest-easysetup-provider-combo-box.c
src/maemo/easysetup/modest-presets.h

index a82c909..9152172 100644 (file)
@@ -1,6 +1,35 @@
+# maemo-provider-data.keyfile -*-mode:sh-*-
+# Time-stamp: <2007-12-01 13:39:11 (djcb)>
+
+# Copyright (c) 2006, Nokia Corporation
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+#   notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+#   notice, this list of conditions and the following disclaimer in the
+#   documentation and/or other materials provided with the distribution.
+# * Neither the name of the Nokia Corporation nor the names of its
+#   contributors may be used to endorse or promote products derived from
+#   this software without specific prior written permission.
 #
 #
-# This file is part of maemo-providers-data
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
+# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 #
+
 [aim.com]
 Name=AIM
 MCC=0
 [aim.com]
 Name=AIM
 MCC=0
@@ -17,8 +46,17 @@ OutgoingMailServer=smtp.aol.com
 IncomingMailServer=imap.aol.com
 IncomingSecurity=0
 MailboxType=imap
 IncomingMailServer=imap.aol.com
 IncomingSecurity=0
 MailboxType=imap
-[gmail.com]
-Name=Gmail
+[imap.gmail.com]
+Name=Gmail/IMAP
+MCC=0
+Domain=gmail.com
+OutgoingMailServer=smtp.gmail.com
+SecureSmtp=true
+IncomingMailServer=imap.gmail.com
+IncomingSecurity=2
+MailboxType=imap
+[pop.gmail.com]
+Name=Gmail/POP3
 MCC=0
 Domain=gmail.com
 OutgoingMailServer=smtp.gmail.com
 MCC=0
 Domain=gmail.com
 OutgoingMailServer=smtp.gmail.com
@@ -29,19 +67,11 @@ MailboxType=pop
 [lycos.com]
 Name=Lycos Mail
 MCC=0
 [lycos.com]
 Name=Lycos Mail
 MCC=0
-Domain=lcyos.com
+Domain=lycos.com
 OutgoingMailServer=smtp.mail.lycos.com
 IncomingMailServer=pop.mail.lycos.com
 IncomingSecurity=0
 MailboxType=pop
 OutgoingMailServer=smtp.mail.lycos.com
 IncomingMailServer=pop.mail.lycos.com
 IncomingSecurity=0
 MailboxType=pop
-[hotmail.com]
-Name=Hotmail
-MCC=0
-Domain=hotmail.com
-OutgoingMailServer=mail.hotmail.com
-IncomingMailServer=smtp.hotmail.com
-IncomingSecurity=0
-MailboxType=pop
 [yahoo.com]
 Name=Yahoo Mail Plus
 MCC=0
 [yahoo.com]
 Name=Yahoo Mail Plus
 MCC=0
@@ -50,18 +80,11 @@ OutgoingMailServer=smtp.mail.yahoo.com
 IncomingMailServer=pop.mail.yahoo.com
 IncomingSecurity=0
 MailboxType=pop
 IncomingMailServer=pop.mail.yahoo.com
 IncomingSecurity=0
 MailboxType=pop
-[TinymailImap]
-Name=TinymailIMAP
+[Tinymail]
+Name=Tinymail
 MCC=206
 Domain=tinymail.org
 IncomingMailServer=imap1.tinymail.org
 IncomingSecurity=0
 MailboxType=imap
 MCC=206
 Domain=tinymail.org
 IncomingMailServer=imap1.tinymail.org
 IncomingSecurity=0
 MailboxType=imap
-[TinymailPop]
-Name=TinymailPOP
-MCC=206
-Domain=tinymail.org
-IncomingMailServer=imap1.tinymail.org
-IncomingSecurity=0
-MailboxType=pop
 
 
index 0ca0cf3..5ee36f4 100644 (file)
@@ -214,8 +214,8 @@ easysetup_provider_combo_box_fill (EasysetupProviderComboBox *combobox, ModestPr
 
                        ++iter_provider_names;
                        ++iter_provider_ids;
 
                        ++iter_provider_names;
                        ++iter_provider_ids;
-               }
-
+       }
+       
        /* Free the result of modest_presets_get_providers()
         * as specified by its documentation: */
        g_strfreev (provider_names);
        /* Free the result of modest_presets_get_providers()
         * as specified by its documentation: */
        g_strfreev (provider_names);
index c8beaf8..d71b67d 100644 (file)
@@ -129,8 +129,8 @@ gchar *                   modest_presets_get_domain      (ModestPresets *self,
  * Returns: a ModestPresetsServerType with the required information
  */
 ModestPresetsServerType          modest_presets_get_info_server_type (ModestPresets *self,
  * Returns: a ModestPresetsServerType with the required information
  */
 ModestPresetsServerType          modest_presets_get_info_server_type (ModestPresets *self,
-                                                   const gchar *provider_id,
-                                                   gboolean incoming_server);
+                                                                     const gchar *provider_id,
+                                                                     gboolean incoming_server);
 
 /**
  * modest_presets_get_info_server_security:
 
 /**
  * modest_presets_get_info_server_security:
@@ -144,8 +144,8 @@ ModestPresetsServerType          modest_presets_get_info_server_type (ModestPres
  * Returns: ModestPresetsSecurity ORable flags with the required information
  */                                        
 ModestPresetsSecurity          modest_presets_get_info_server_security (ModestPresets *self,
  * Returns: ModestPresetsSecurity ORable flags with the required information
  */                                        
 ModestPresetsSecurity          modest_presets_get_info_server_security (ModestPresets *self,
-                                                   const gchar *provider_id,
-                                                   gboolean incoming_server);
+                                                                       const gchar *provider_id,
+                                                                       gboolean incoming_server);
 
 
 /**
 
 
 /**