From: Dirk-Jan C. Binnema Date: Fri, 2 Nov 2007 14:55:58 +0000 (+0000) Subject: * save attachments with 0444 instead of 0777. X-Git-Tag: git_migration_finished~2179 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=1bf00445a407ec2bacaa4d853d256e5fb47b0a20 * save attachments with 0444 instead of 0777. This fixes: NB#75099 pmo-trunk-r3626 --- diff --git a/src/maemo/modest-msg-view-window.c b/src/maemo/modest-msg-view-window.c index f1cfae4..4caa84e 100644 --- a/src/maemo/modest-msg-view-window.c +++ b/src/maemo/modest-msg-view-window.c @@ -2340,7 +2340,7 @@ save_mime_part_to_file (SaveMimePartInfo *info) TnyStream *stream; SaveMimePartPair *pair = (SaveMimePartPair *) info->pairs->data; - result = gnome_vfs_create (&handle, pair->filename, GNOME_VFS_OPEN_WRITE, FALSE, 0777); + result = gnome_vfs_create (&handle, pair->filename, GNOME_VFS_OPEN_WRITE, FALSE, 0444); if (result == GNOME_VFS_OK) { stream = tny_vfs_stream_new (handle); tny_mime_part_decode_to_stream (pair->part, stream); @@ -2623,8 +2623,9 @@ update_window_title (ModestMsgViewWindow *window) TnyMsg *msg = NULL; TnyHeader *header = NULL; const gchar *subject = NULL; - + msg = tny_msg_view_get_msg (TNY_MSG_VIEW (priv->msg_view)); + if (msg != NULL) { header = tny_msg_get_header (msg); subject = tny_header_get_subject (header); @@ -2637,6 +2638,7 @@ update_window_title (ModestMsgViewWindow *window) gtk_window_set_title (GTK_WINDOW (window), subject); } + static void on_move_focus (ModestMsgViewWindow *window, GtkDirectionType direction, gpointer userdata)