[Commits] [SCM] claws branch, master, updated. 4.1.1-34-g23df64c5a

paul at claws-mail.org paul at claws-mail.org
Thu Jan 5 11:35:49 UTC 2023


The branch, master has been updated
       via  23df64c5a17339b1ff1bba8fdcda70e2179039cd (commit)
      from  964f268a7099f440882552c78b415bceded6f0e4 (commit)

Summary of changes:
 src/folderview.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 23df64c5a17339b1ff1bba8fdcda70e2179039cd
Author: Paul <paul at claws-mail.org>
Date:   Thu Jan 5 11:35:33 2023 +0000

    re-add the mistakenly removed quick method of unsetting the start-up folder option, and improve it

diff --git a/src/folderview.c b/src/folderview.c
index 99f3c61d2..e265635cf 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -2005,8 +2005,6 @@ static void folderview_set_sens_and_popup_menu(FolderView *folderview, gint row,
 		SET_SENS("FolderViewPopup/OpenFolder", !prefs_common.goto_folder_on_startup
 			|| strcmp(id, prefs_common.startup_folder));
 		g_free(id);
-	} else {
-		SET_SENS("FolderViewPopup/OpenFolder", FALSE);
 	}
 
 	if (item == folder->trash || item == special_trash
@@ -2597,8 +2595,8 @@ static void folderview_startup_folder_cb(GtkAction *action, gpointer data)
 	item = folderview_get_selected_item(folderview);
 
 	prefs_common.goto_last_folder_on_startup = FALSE;
-	prefs_common.goto_folder_on_startup = TRUE;
 	prefs_common.startup_folder = folder_item_get_identifier(item);
+	prefs_common.goto_folder_on_startup = prefs_common.startup_folder? TRUE : FALSE;
 }
 
 static void folderview_run_processing_cb(GtkAction *action, gpointer data)

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list