2007-08-19 [colin] 2.10.0cvs134
authorColin Leroy <colin@colino.net>
Sun, 19 Aug 2007 12:16:02 +0000 (12:16 +0000)
committerColin Leroy <colin@colino.net>
Sun, 19 Aug 2007 12:16:02 +0000 (12:16 +0000)
* src/imap.c
Remove useless menu updates on session lock/unlock

ChangeLog
PATCHSETS
configure.ac
src/imap.c

index a70e932659b232141591808fa980a21c33602806..2f51e206e443b0026979969bb9ee9f01e1c3ce05 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-19 [colin]     2.10.0cvs134
+
+       * src/imap.c
+               Remove useless menu updates on session lock/unlock
+
 2007-08-19 [colin]     2.10.0cvs133
 
        * src/etpan/imap-thread.c
 2007-08-19 [colin]     2.10.0cvs133
 
        * src/etpan/imap-thread.c
index a22021a2e50ee79484c497a80bfc16a8b02d32f4..351d541c2e74644162a37d46eefd4967c0169935 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.3 -r 1.1.2.4 src/editaddress_other_attributes_ldap.c;  ) > 2.10.0cvs131.patchset
 ( cvs diff -u -r 1.26.2.33 -r 1.26.2.34 src/foldersel.c;  cvs diff -u -r 1.207.2.174 -r 1.207.2.175 src/folderview.c;  cvs diff -u -r 1.395.2.320 -r 1.395.2.321 src/summaryview.c;  ) > 2.10.0cvs132.patchset
 ( cvs diff -u -r 1.1.4.82 -r 1.1.4.83 src/etpan/imap-thread.c;  ) > 2.10.0cvs133.patchset
 ( cvs diff -u -r 1.1.2.3 -r 1.1.2.4 src/editaddress_other_attributes_ldap.c;  ) > 2.10.0cvs131.patchset
 ( cvs diff -u -r 1.26.2.33 -r 1.26.2.34 src/foldersel.c;  cvs diff -u -r 1.207.2.174 -r 1.207.2.175 src/folderview.c;  cvs diff -u -r 1.395.2.320 -r 1.395.2.321 src/summaryview.c;  ) > 2.10.0cvs132.patchset
 ( cvs diff -u -r 1.1.4.82 -r 1.1.4.83 src/etpan/imap-thread.c;  ) > 2.10.0cvs133.patchset
+( cvs diff -u -r 1.179.2.181 -r 1.179.2.182 src/imap.c;  ) > 2.10.0cvs134.patchset
index 1813e55647e694b6383537d8b8a94a9aba6bd7f7..f35102662d5f999ce8faaf92d4fdadcec933afd0 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=10
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=133
+EXTRA_VERSION=134
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 9a0202dc7e8a191492daada3cd8ef1afe289aee0..0e60d6fe051030feccae2b65ce95e3a913b5fb9e 100644 (file)
@@ -706,11 +706,6 @@ static void lock_session(IMAPSession *session)
                if (session->busy)
                        debug_print("         SESSION WAS LOCKED !!      \n");
                 session->busy = TRUE;
                if (session->busy)
                        debug_print("         SESSION WAS LOCKED !!      \n");
                 session->busy = TRUE;
-               mainwin = mainwindow_get_mainwindow();
-               if (mainwin) {
-                       toolbar_main_set_sensitive(mainwin);
-                       main_window_set_menu_sensitive(mainwin);
-               }
        } else {
                debug_print("can't lock null session\n");
        }
        } else {
                debug_print("can't lock null session\n");
        }
@@ -723,11 +718,6 @@ static void unlock_session(IMAPSession *session)
                
                debug_print("unlocking session %p\n", session);
                session->busy = FALSE;
                
                debug_print("unlocking session %p\n", session);
                session->busy = FALSE;
-               mainwin = mainwindow_get_mainwindow();
-               if (mainwin) {
-                       toolbar_main_set_sensitive(mainwin);
-                       main_window_set_menu_sensitive(mainwin);
-                }
        } else {
                debug_print("can't unlock null session\n");
        }
        } else {
                debug_print("can't unlock null session\n");
        }