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 86c53bce899cb6c6fc00e039c5c33ce147f08774..154bb65ab8ed20fd541cf359db13a7bea95f4495 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 e30e97fe8fe2a000cb14d1592496d5b96862c7b7..e60fa086a49bcbe42a51f63db11a42d0682586a2 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 71842e7e2629215c4706cc434426197a8b3dc553..3bb7efd71019731a02724b71b6b82c6d9d8493bb 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 a83884c3a18502162567f5307e455f34d8f37792..557639eaed18847d08f9a3886bd51b73c54041bb 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 703590899b41bdbbd1bb49950e5b455f8948d47b..bdbdaf7deb0e954ccfa187d92e22186bc0af263e 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 1dcbcbf2d0da986f28b21d1e786e6c7fc9591160..4c5e5f6e1d28b797987e8fe7d01d1798e45cfe57 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 e1a614d3b6285bb8b272997797459b639e84c8c7..4bbfeb708b1403eca3b1e39310b81b6a36d89aa7 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);
 }