summaryrefslogtreecommitdiff
path: root/freefilesync/ffs_traditional_view.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-12-08 21:33:20 -0500
committerB Stack <bgstack15@gmail.com>2020-12-08 21:33:20 -0500
commit2e2710caba17c532dc7e64d15238ad9cfe183ed3 (patch)
treea5ad6d0ca55c3915d2ae29e65c6b1cffbf9d57fd /freefilesync/ffs_traditional_view.patch
parentffs dpkg 11.4, WIP ffs rpm (diff)
downloadstackrpms-2e2710caba17c532dc7e64d15238ad9cfe183ed3.tar.gz
stackrpms-2e2710caba17c532dc7e64d15238ad9cfe183ed3.tar.bz2
stackrpms-2e2710caba17c532dc7e64d15238ad9cfe183ed3.zip
ffs rpm 11.4
Diffstat (limited to 'freefilesync/ffs_traditional_view.patch')
-rw-r--r--freefilesync/ffs_traditional_view.patch16
1 files changed, 7 insertions, 9 deletions
diff --git a/freefilesync/ffs_traditional_view.patch b/freefilesync/ffs_traditional_view.patch
index f627a0a..c075820 100644
--- a/freefilesync/ffs_traditional_view.patch
+++ b/freefilesync/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<side>()))
-+ (groupName.empty() || !pdi.folderGroupObj->isEmpty<side>())))
+- (!stackedGroupRender && row == groupFirstRow))
++ (!stackedGroupRender && row == groupFirstRow)))
+ //&& (groupName.empty() || !pdi.folderGroupObj->isEmpty<side>()) -> show unconditionally, even for missing folders
+ )
{
- wxRect rectGroupParentText = rectGroupParent;
- rectGroupParentText.x += gapSize_;
@@ -994,16 +1062,16 @@
rectGroupItems.x += 2 * gapSize_;
rectGroupItems.width -= 2 * gapSize_;
bgstack15