~mati75/spacefm/next

Viewing all changes in revision 1108.

  • Committer: IgnorantGuru
  • Date: 2018-01-30 15:10:00 UTC
  • Revision ID: git-v1:78a5748ddeb8c1467c0ffbb6c3a080e3dca88bd2
fix 1.0.2 708f0988 regression: Dbl-click to enter dir selects file #702

Code in ptk-file-browser.c:on_folder_view_button_release_event() was made
non-conditional on app_settings.single_click in 1.0.2 708f098 because it
caused a left-click to not unselect other files. However, this caused file
under cursor to be selected when entering directory by double-click in
Icon/Compact styles, due to the button release on the last click (of the
double-click) being handled after the dir changed. To correct this, 1.0.6
conditionally sets skip_release on GDK_2BUTTON_PRESS, and conditionally
doesn't reset skip_release in ptk_file_browser_chdir().

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: