From d19ffa817fd106a18c1f87a9ee43458eeb6d2c91 Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 8 Dec 2020 20:34:00 -0500 Subject: ffs dpkg 11.4, WIP ffs rpm --- freefilesync/debian/patches/ffs_traditional_view.patch | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'freefilesync/debian/patches/ffs_traditional_view.patch') diff --git a/freefilesync/debian/patches/ffs_traditional_view.patch b/freefilesync/debian/patches/ffs_traditional_view.patch index f627a0a..c075820 100644 --- a/freefilesync/debian/patches/ffs_traditional_view.patch +++ b/freefilesync/debian/patches/ffs_traditional_view.patch @@ -1,8 +1,7 @@ -Version: 11.3 -Date: 2020-11-05 +Version: 11.4 +Date: 2020-12-08 Author: bgstack15@gmail.com Message: restore a traditional view to FreeFileSync -The Nov 5 patch removes the lines between groups, and also fixes the relative paths in "Trad. Rel" view. diff -x '*.orig' -x '*.rej' -aur 11.3-0/FreeFileSync/Source/ui/file_grid.cpp 11.3-1/FreeFileSync/Source/ui/file_grid.cpp --- 11.3-1/FreeFileSync/Source/ui/file_grid.cpp 2020-11-02 11:38:14.806496077 -0500 +++ 11.3-2/FreeFileSync/Source/ui/file_grid.cpp 2020-11-05 11:11:46.146360956 -0500 @@ -183,19 +182,18 @@ diff -x '*.orig' -x '*.rej' -aur 11.3-0/FreeFileSync/Source/ui/file_grid.cpp 11. //mouse highlight: group name wxDCTextColourChanger textColorGroupName(dc); -@@ -972,10 +1040,10 @@ +@@ -974,9 +1042,9 @@ drawCellText(dc, rectGroupName, groupName, wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL, &getTextExtentBuffered(dc, groupName)); } - if (!groupParentFolder.empty() && + if (itemPathFormat_ == ItemPathFormat::traditional || itemPathFormat_ == ItemPathFormat::tradrel || (!groupParentFolder.empty() && (( stackedGroupRender && row == groupFirstRow + 1) || - (!stackedGroupRender && row == groupFirstRow)) && -- (groupName.empty() || !pdi.folderGroupObj->isEmpty())) -+ (groupName.empty() || !pdi.folderGroupObj->isEmpty()))) +- (!stackedGroupRender && row == groupFirstRow)) ++ (!stackedGroupRender && row == groupFirstRow))) + //&& (groupName.empty() || !pdi.folderGroupObj->isEmpty()) -> show unconditionally, even for missing folders + ) { - wxRect rectGroupParentText = rectGroupParent; - rectGroupParentText.x += gapSize_; @@ -994,16 +1062,16 @@ rectGroupItems.x += 2 * gapSize_; rectGroupItems.width -= 2 * gapSize_; -- cgit