2006-07-25 [colin] 2.3.1cvs85
* src/mainwindow.c * src/common/socket.h * src/etpan/imap-thread.c Refresh resolvers before connecting to IMAP servers, and after switching to online. Thanks to Paul.
This commit is contained in:
parent
dbd79cba3b
commit
568729feaf
6 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-07-25 [colin] 2.3.1cvs85
|
||||
|
||||
* src/mainwindow.c
|
||||
* src/common/socket.h
|
||||
* src/etpan/imap-thread.c
|
||||
Refresh resolvers before connecting
|
||||
to IMAP servers, and after switching
|
||||
to online. Thanks to Paul.
|
||||
|
||||
2006-07-18 [colin]
|
||||
|
||||
* 2.4.0-rc4 released
|
||||
|
|
|
@ -1685,3 +1685,4 @@
|
|||
( cvs diff -u -r 1.94.2.90 -r 1.94.2.91 src/messageview.c; ) > 2.3.1cvs82.patchset
|
||||
( diff -u /dev/null sylpheed-claws.ico; ) > 2.3.1cvs83.patchset
|
||||
( cvs diff -u -r 1.149.2.53 -r 1.149.2.54 src/inc.c; ) > 2.3.1cvs84.patchset
|
||||
( cvs diff -u -r 1.274.2.125 -r 1.274.2.126 src/mainwindow.c; cvs diff -u -r 1.13.2.6 -r 1.13.2.7 src/common/socket.h; cvs diff -u -r 1.1.4.45 -r 1.1.4.46 src/etpan/imap-thread.c; ) > 2.3.1cvs85.patchset
|
||||
|
|
|
@ -11,7 +11,7 @@ MINOR_VERSION=3
|
|||
MICRO_VERSION=1
|
||||
INTERFACE_AGE=0
|
||||
BINARY_AGE=0
|
||||
EXTRA_VERSION=84
|
||||
EXTRA_VERSION=85
|
||||
EXTRA_RELEASE=
|
||||
EXTRA_GTK2_VERSION=
|
||||
|
||||
|
|
|
@ -69,6 +69,7 @@ struct _SockInfo
|
|||
GIOCondition condition;
|
||||
};
|
||||
|
||||
void refresh_resolvers (void);
|
||||
gint sock_init (void);
|
||||
gint sock_cleanup (void);
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "etpan-thread-manager.h"
|
||||
#include "utils.h"
|
||||
#include "ssl_certificate.h"
|
||||
#include "socket.h"
|
||||
|
||||
#define DISABLE_LOG_DURING_LOGIN
|
||||
|
||||
|
@ -357,6 +358,7 @@ int imap_threaded_connect(Folder * folder, const char * server, int port)
|
|||
param.server = server;
|
||||
param.port = port;
|
||||
|
||||
refresh_resolvers();
|
||||
threaded_run(folder, ¶m, &result, connect_run);
|
||||
|
||||
debug_print("connect ok %i\n", result.error);
|
||||
|
@ -427,6 +429,7 @@ int imap_threaded_connect_ssl(Folder * folder, const char * server, int port)
|
|||
param.server = server;
|
||||
param.port = port;
|
||||
|
||||
refresh_resolvers();
|
||||
threaded_run(folder, ¶m, &result, connect_ssl_run);
|
||||
|
||||
if (result.error >= 0 && !etpan_skip_ssl_cert_check) {
|
||||
|
|
|
@ -95,6 +95,7 @@
|
|||
#include "colorlabel.h"
|
||||
#include "textview.h"
|
||||
#include "imap.h"
|
||||
#include "socket.h"
|
||||
|
||||
#define AC_LABEL_WIDTH 240
|
||||
|
||||
|
@ -3155,6 +3156,7 @@ static void online_switch_clicked (GtkButton *btn, gpointer data)
|
|||
menuitem->active = FALSE;
|
||||
prefs_common.work_offline = FALSE;
|
||||
inc_autocheck_timer_set();
|
||||
refresh_resolvers();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue