* libmodest-dbus-client/libmodest-dbus-client.c:
(libmodest_dbus_client_search): Fix the build. Sorry.
* src/modest-ui-actions.c: (modest_ui_actions_on_new_msg),
(reply_forward_cb): Initialize variables to fix the build.
* src/modest-tny-account-store.c:
(modest_tny_account_store_get_tny_account_by): Fix the account URI
comparison (a silly typo) so that email search results can be opened
when there are more than one account.
pmo-trunk-r2398
2007-06-25 Murray Cumming <murrayc@murrayc.com>
* libmodest-dbus-client/libmodest-dbus-client.c:
2007-06-25 Murray Cumming <murrayc@murrayc.com>
* libmodest-dbus-client/libmodest-dbus-client.c:
+ (libmodest_dbus_client_search): Fix the build. Sorry.
+ * src/modest-ui-actions.c: (modest_ui_actions_on_new_msg),
+ (reply_forward_cb): Initialize variables to fix the build.
+
+ * src/modest-tny-account-store.c:
+ (modest_tny_account_store_get_tny_account_by): Fix the account URI
+ comparison (a silly typo) so that email search results can be opened
+ when there are more than one account.
+
+2007-06-25 Murray Cumming <murrayc@murrayc.com>
+
+ * libmodest-dbus-client/libmodest-dbus-client.c:
(libmodest_dbus_client_search),
(libmodest_dbus_client_get_folders): Use large timeouts (2 minutes)
instead of 1 second, because the search gets folders and messages from
(libmodest_dbus_client_search),
(libmodest_dbus_client_get_folders): Use large timeouts (2 minutes)
instead of 1 second, because the search gets folders and messages from
dbus_message_set_auto_start (msg, TRUE);
dbus_message_set_auto_start (msg, TRUE);
- dbus_error_init (&err);
-
/* Use a long timeout (2 minutes) because the search currently
* gets folders and messages from the servers. */
timeout = 120000; //milliseconds.
/* Use a long timeout (2 minutes) because the search currently
* gets folders and messages from the servers. */
timeout = 120000; //milliseconds.
__FUNCTION__); */
/* TODO: Detect the timeout somehow. */
DBusError err;
__FUNCTION__); */
/* TODO: Detect the timeout somehow. */
DBusError err;
+ dbus_error_init (&err);
reply = dbus_connection_send_with_reply_and_block (con,
msg,
timeout,
reply = dbus_connection_send_with_reply_and_block (con,
msg,
timeout,
}
if (type == MODEST_TNY_ACCOUNT_STORE_QUERY_URL &&
}
if (type == MODEST_TNY_ACCOUNT_STORE_QUERY_URL &&
- tny_account_matches_url_string (TNY_ACCOUNT(cursor->data), val)) {
+ tny_account_matches_url_string (TNY_ACCOUNT(cursor->data), str)) {
account = TNY_ACCOUNT (cursor->data);
goto end;
} else {
account = TNY_ACCOUNT (cursor->data);
goto end;
} else {
void
modest_ui_actions_on_new_msg (GtkAction *action, ModestWindow *win)
{
void
modest_ui_actions_on_new_msg (GtkAction *action, ModestWindow *win)
{
+ ModestWindow *msg_win = NULL;
TnyMsg *msg = NULL;
TnyFolder *folder = NULL;
gchar *account_name = NULL;
TnyMsg *msg = NULL;
TnyFolder *folder = NULL;
gchar *account_name = NULL;
{
TnyMsg *new_msg;
ReplyForwardHelper *rf_helper;
{
TnyMsg *new_msg;
ReplyForwardHelper *rf_helper;
+ ModestWindow *msg_win = NULL;
ModestEditType edit_type;
ModestEditType edit_type;
TnyAccount *account = NULL;
TnyAccount *account = NULL;
+ ModestWindowMgr *mgr = NULL;
gchar *signature = NULL;
g_return_if_fail (user_data != NULL);
gchar *signature = NULL;
g_return_if_fail (user_data != NULL);