[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-29-g07b3694e1

paul at claws-mail.org paul at claws-mail.org
Thu Jan 5 11:36:50 UTC 2023


The branch, gtk2 has been updated
       via  07b3694e1cb3e05e9714c80040233621b79bc605 (commit)
      from  7e5b549d2fbe7d4974122545afc3b90fa45f65c5 (commit)

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


- Log -----------------------------------------------------------------
commit 07b3694e1cb3e05e9714c80040233621b79bc605
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 556f7347e..1d9b70aa1 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -2009,8 +2009,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
@@ -2595,8 +2593,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