Author: sragavan
Date: Sun Feb 17 20:06:45 2008
New Revision: 35029
URL: http://svn.gnome.org/viewvc/evolution?rev=35029&view=rev

Log:
2008-02-18  Srinivasa Ragavan  <[EMAIL PROTECTED]>

        * exchange-folder-subscription.c: (subscribe_to_folder),
        (create_folder_subscription_dialog): Pushing  a downstream patch from
        OpenSUSE.


Modified:
   trunk/plugins/exchange-operations/ChangeLog
   trunk/plugins/exchange-operations/exchange-folder-subscription.c

Modified: trunk/plugins/exchange-operations/exchange-folder-subscription.c
==============================================================================
--- trunk/plugins/exchange-operations/exchange-folder-subscription.c    
(original)
+++ trunk/plugins/exchange-operations/exchange-folder-subscription.c    Sun Feb 
17 20:06:45 2008
@@ -240,6 +240,7 @@
                        g_free (folder_name);
                        switch (result) {
                                case EXCHANGE_ACCOUNT_FOLDER_OK:
+                                       exchange_account_rescan_tree 
(subscription_info->account);
                                        break;
                                case EXCHANGE_ACCOUNT_FOLDER_ALREADY_EXISTS:
                                        e_error_run (NULL, ERROR_DOMAIN 
":folder-exists-error", NULL);
@@ -296,6 +297,11 @@
        GladeXML *glade_xml;
        GtkWidget *dialog, *ok_button;
        SubscriptionInfo *subscription_info;
+       int mode;
+
+       exchange_account_is_offline (account, &mode);
+       if (mode == OFFLINE_MODE)
+               return FALSE;
 
        subscription_info = g_new0 (SubscriptionInfo, 1);
        subscription_info->account = account;
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to