Skip to content

Commit

Permalink
fix icon/compact view left-click doesnt unselect other files
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnorantGuru committed May 19, 2015
1 parent dbc54f4 commit 708f098
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -19,6 +19,7 @@
add View|Style|Thumbnails (global)
add show_thumbnails socket property
fix missing paths on command line hangs introduced in f167b283 #468
fix icon/compact view left-click doesn't unselect other files
1.0.1 2015-05-04:
extended bookmarks system
added users manual Bookmarks section
Expand Down
8 changes: 5 additions & 3 deletions src/ptk/ptk-file-browser.c
Expand Up @@ -4002,8 +4002,10 @@ on_folder_view_button_release_event ( GtkWidget *widget,
{
if ( exo_icon_view_is_rubber_banding_active( EXO_ICON_VIEW( widget ) ) )
return FALSE;
if ( app_settings.single_click )
{
//sfm disabled 1.0.2 Why was this conditional on single_click?
// Caused a left-click to not unselect other files.
//if ( app_settings.single_click )
//{
tree_path = exo_icon_view_get_path_at_pos( EXO_ICON_VIEW( widget ),
event->x, event->y );
model = exo_icon_view_get_model( EXO_ICON_VIEW( widget ) );
Expand All @@ -4013,7 +4015,7 @@ on_folder_view_button_release_event ( GtkWidget *widget,
exo_icon_view_unselect_all( EXO_ICON_VIEW( widget ) );
exo_icon_view_select_path( EXO_ICON_VIEW( widget ), tree_path );
}
}
//}
}
else if ( file_browser->view_mode == PTK_FB_LIST_VIEW )
{
Expand Down

0 comments on commit 708f098

Please sign in to comment.