sync with 0.7.4cvs51
authorPaul Mangan <paul@claws-mail.org>
Sun, 21 Apr 2002 09:51:33 +0000 (09:51 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sun, 21 Apr 2002 09:51:33 +0000 (09:51 +0000)
ChangeLog
ChangeLog.claws
ChangeLog.jp
configure.in
src/account.c
src/prefs_account.c
src/summaryview.c

index 0e2ab4b9ad763b760e2c13608413e9ba8a641a0e..7b1b5b04dc8ef4e09051178f6d862e42126ddafb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-04-21
+
+       * src/summaryview.c: summary_show(): fixed a bug that didn't process
+         the left marks.
+       * src/account.c: account_edit_prefs(): fixed a crash bug when account
+         name was empty.
+       * src/prefs_account.c: prefs_account_apply(): display error dialog
+         if account name is empty.
+
 2002-04-21
 
        * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
 2002-04-21
 
        * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
index f8358c0ca894c61bd6695915f3e0e7c55c6507d2..13ef25eaba68e3a55de9cbf69495e8414e36e5b5 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-21 [paul]      0.7.4claws86
+
+       * sync with 0.7.4cvs51
+               see ChangeLog entry 2002-04-21
+
 2002-04-21 [paul]      0.7.4claws85
 
        * sync with 0.7.4cvs49
 2002-04-21 [paul]      0.7.4claws85
 
        * sync with 0.7.4cvs49
index 24f032a95a427370f7e727452bbd328427540477..1e385274055684719cd41c2996ea150f4362e4e8 100644 (file)
@@ -1,3 +1,12 @@
+2002-04-21
+
+       * src/summaryview.c: summary_show(): »Ä¤Ã¤¿¥Þ¡¼¥¯¤ò½èÍý¤·¤Ê¤¤¥Ð¥°¤ò
+         ½¤Àµ¡£
+       * src/account.c: account_edit_prefs(): ¥¢¥«¥¦¥ó¥È̾¤¬¶õ¤Î¾ì¹ç¤Î
+         ¥¯¥é¥Ã¥·¥å¥Ð¥°¤ò½¤Àµ¡£
+       * src/prefs_account.c: prefs_account_apply(): ¥¢¥«¥¦¥ó¥È̾¤¬¶õ¤Î¾ì¹ç
+         ¥¨¥é¡¼¥À¥¤¥¢¥í¥°¤òɽ¼¨¡£
+
 2002-04-21
 
        * src/mh.c: mh_get_new_msg_filename(): ¿·µ¬¡£¿·µ¬¥á¥Ã¥»¡¼¥¸¤Î¥Õ¥¡¥¤¥ë
 2002-04-21
 
        * src/mh.c: mh_get_new_msg_filename(): ¿·µ¬¡£¿·µ¬¥á¥Ã¥»¡¼¥¸¤Î¥Õ¥¡¥¤¥ë
index 69da0eb1b8808cecac7df0178c82fdce268cf2b1..80a0939dd10b550f1adc53670ef1d9e71e858425 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws85
+EXTRA_VERSION=claws86
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index f6b53a34724a5bcada3b5fc17245a37e2e78a7c6..52066bac7a6564df61b520e3fdcd2b70b0bf815c 100644 (file)
@@ -606,7 +606,8 @@ static void account_edit_prefs(void)
        row = GPOINTER_TO_INT(clist->selection->data);
        ac_prefs = gtk_clist_get_row_data(clist, row);
        prev_default = ac_prefs->is_default;
        row = GPOINTER_TO_INT(clist->selection->data);
        ac_prefs = gtk_clist_get_row_data(clist, row);
        prev_default = ac_prefs->is_default;
-       Xstrdup_a(ac_name, ac_prefs->account_name, return);
+       Xstrdup_a(ac_name, ac_prefs->account_name ? ac_prefs->account_name : "",
+                 return);
 
        prefs_account_open(ac_prefs);
 
 
        prefs_account_open(ac_prefs);
 
@@ -614,7 +615,7 @@ static void account_edit_prefs(void)
                account_set_as_default(ac_prefs);
 
        if ((ac_prefs->protocol == A_IMAP4 || ac_prefs->protocol == A_NNTP) &&
                account_set_as_default(ac_prefs);
 
        if ((ac_prefs->protocol == A_IMAP4 || ac_prefs->protocol == A_NNTP) &&
-           ac_prefs->folder && strcmp(ac_name, ac_prefs->account_name) != 0) {
+           ac_prefs->folder && strcmp2(ac_name, ac_prefs->account_name) != 0) {
                folder_set_name(FOLDER(ac_prefs->folder),
                                ac_prefs->account_name);
                folderview_rescan_all();
                folder_set_name(FOLDER(ac_prefs->folder),
                                ac_prefs->account_name);
                folderview_rescan_all();
index 84e62016f3daf6c5784ea3f74c8bdaad1b7825e9..97058dbaed8a426f7ee90474670e6383465604b0 100644 (file)
@@ -1838,6 +1838,10 @@ static gint prefs_account_apply(void)
        protocol = GPOINTER_TO_INT
                (gtk_object_get_user_data(GTK_OBJECT(menuitem)));
 
        protocol = GPOINTER_TO_INT
                (gtk_object_get_user_data(GTK_OBJECT(menuitem)));
 
+       if (*gtk_entry_get_text(GTK_ENTRY(basic.acname_entry)) == '\0') {
+               alertpanel_error(_("Account name is not entered."));
+               return -1;
+       }
        if (*gtk_entry_get_text(GTK_ENTRY(basic.addr_entry)) == '\0') {
                alertpanel_error(_("Mail address is not entered."));
                return -1;
        if (*gtk_entry_get_text(GTK_ENTRY(basic.addr_entry)) == '\0') {
                alertpanel_error(_("Mail address is not entered."));
                return -1;
index a57656abb05dc638572002653684556a1bc06349..212a9742ce2424aed9a5b94a769f578c427b8457 100644 (file)
@@ -719,9 +719,11 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item,
                val = alertpanel(_("Process mark"),
                                 _("Some marks are left. Process it?"),
                                 _("Yes"), _("No"), _("Cancel"));
                val = alertpanel(_("Process mark"),
                                 _("Some marks are left. Process it?"),
                                 _("Yes"), _("No"), _("Cancel"));
-               if (G_ALERTDEFAULT == val)
+               if (G_ALERTDEFAULT == val) {
+                       summary_unlock(summaryview);
                        summary_execute(summaryview);
                        summary_execute(summaryview);
-               else if (G_ALERTALTERNATE == val)
+                       summary_lock(summaryview);
+               } else if (G_ALERTALTERNATE == val)
                        summary_write_cache(summaryview);
                else {
                        summary_unlock(summaryview);
                        summary_write_cache(summaryview);
                else {
                        summary_unlock(summaryview);