news cancelling update
authorHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Mon, 4 Mar 2002 18:37:16 +0000 (18:37 +0000)
committerHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Mon, 4 Mar 2002 18:37:16 +0000 (18:37 +0000)
ChangeLog.claws
src/summaryview.c

index cb37e36..1084eaf 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-05 [hoa]       
+
+       * src/summaryview.c
+               dialog box pops up if the article can't be deleted.
+
 2002-03-04 [paul]      
        
        * po/pt_BR.po
@@ -9,6 +14,9 @@
                to avoid autogen common problem
                developers have to install gpgme development package now
 
+       * src/compose.c
+               encoding to 7bit or 8bit is enabled.
+
 2002-03-03 [alfons]    0.7.2claws29
 
        * src/pop.c
index 2513894..cfe540e 100644 (file)
@@ -2888,13 +2888,17 @@ static gboolean check_permission(SummaryView *summaryview, MsgInfo * msginfo)
                                from_name =
                                        g_strdup_printf("%s",
                                                        account->address);
-
-               if (g_strcasecmp(from_name, msginfo->from) == 0) {
+                       
+                       if (g_strcasecmp(from_name, msginfo->from) == 0) {
+                               g_free(from_name);
+                               found = TRUE;
+                               break;
+                       }
                        g_free(from_name);
-                       found = TRUE;
-                       break;
                }
-               g_free(from_name);
+
+               if (!found) {
+                       alertpanel_error(_("You're not the author of the article\n"));
                }
                
                return found;