sync with 0.7.4cvs23
authorPaul Mangan <paul@claws-mail.org>
Thu, 28 Mar 2002 07:15:00 +0000 (07:15 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 28 Mar 2002 07:15:00 +0000 (07:15 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.in
src/about.c
src/messageview.c
src/summaryview.c

index 86c53bc..154bb65 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2002-03-28
+
+       * src/messageview.c: messageview_show(): fixed a memory leak.
+       * src/summaryview.c: summary_save_as(): show error dialog if copy
+         failed.
+       * src/about.c: about_show(): make the window active if it is already
+         open.
+
 2002-03-27
 
        * src/compose.c: show confirmation dialog before sending if Subject
index e30e97f..e60fa08 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-28 [paul]      0.7.4claws52
+
+       * sync with 0.7.4cvs23
+               see ChangeLog entry 2002-03-28
+
 2002-03-27 [melvin]    0.7.4claws51
 
        * src/prefs_actions.c
index 71842e7..3bb7efd 100644 (file)
@@ -1,3 +1,11 @@
+2002-03-28
+
+       * src/messageview.c: messageview_show(): ¥á¥â¥ê¥ê¡¼¥¯¤ò½¤Àµ¡£
+       * src/summaryview.c: summary_save_as(): ¥³¥Ô¡¼¤Ë¼ºÇÔ¤·¤¿¤é¥¨¥é¡¼
+         ¥À¥¤¥¢¥í¥°¤òɽ¼¨¡£
+       * src/about.c: about_show(): ¤¹¤Ç¤Ë¥¦¥£¥ó¥É¥¦¤¬³«¤¤¤Æ¤¤¤ë¤È¤­¤Ë
+         ¥¢¥¯¥Æ¥£¥Ö¤Ë¤¹¤ë¤è¤¦¤Ë¤·¤¿¡£
+
 2002-03-27
 
        * src/compose.c: Subject ¤¬¶õ¤Î¤È¤­¤ÏÁ÷¿®Á°¤Ë³Îǧ¥À¥¤¥¢¥í¥°¤òɽ¼¨¡£
index a83884c..557639e 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws51
+EXTRA_VERSION=claws52
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 7035908..bdbdaf7 100644 (file)
@@ -57,8 +57,10 @@ void about_show(void)
 {
        if (!window)
                about_create();
-       else
+       else {
+               gtk_widget_hide(window);
                gtk_widget_show(window);
+       }
 }
 
 static void about_create(void)
index 1dcbcbf..4c5e5f6 100644 (file)
@@ -386,7 +386,11 @@ void messageview_show(MessageView *messageview, MsgInfo *msginfo,
        if (!mimeinfo) return;
 
        file = procmsg_get_message_file_path(msginfo);
-       g_return_if_fail(file != NULL);
+       if (!file) {
+               g_warning("can't get message file path.\n");
+               procmime_mimeinfo_free(mimeinfo);
+               return;
+       }
 
        /* FIXME - doesn't tmpmsginfo->flags have the value
         * of msginfo->flags after procheader_parse()???
index e1a614d..4bbfeb7 100644 (file)
@@ -3350,7 +3350,10 @@ void summary_save_as(SummaryView *summaryview)
        }
 
        src = procmsg_get_message_file(msginfo);
-       copy_file(src, dest);
+       if (copy_file(src, dest) < 0) {
+               alertpanel_error(_("Can't save the file `%s'."),
+                                g_basename(dest));
+       }
        g_free(src);
 }