# HG changeset patch # User zas_ # Date 1229808627 0 # Node ID d79305a42a9b7a47fa0841b5e60a2debac01008c # Parent 3ff2aa99108b900dd9d1e31d1a421d0545dba671 Switch to fullscreen when double clicking on file in icon or list view. Feature request 1966042. The code was there since a long time but disabled, please report any issue. diff -r 3ff2aa99108b -r d79305a42a9b src/view_file_icon.c --- a/src/view_file_icon.c Sat Dec 20 20:43:56 2008 +0000 +++ b/src/view_file_icon.c Sat Dec 20 21:30:27 2008 +0000 @@ -1427,7 +1427,7 @@ { gtk_widget_grab_focus(vf->listview); } -#if 0 +#if 1 if (bevent->type == GDK_2BUTTON_PRESS && vf->layout) { diff -r 3ff2aa99108b -r d79305a42a9b src/view_file_list.c --- a/src/view_file_list.c Sat Dec 20 20:43:56 2008 +0000 +++ b/src/view_file_list.c Sat Dec 20 21:30:27 2008 +0000 @@ -605,7 +605,7 @@ return (gtk_tree_selection_count_selected_rows(selection) > 1); } -#if 0 +#if 1 if (bevent->button == MOUSE_BUTTON_LEFT && bevent->type == GDK_2BUTTON_PRESS) { if (vf->layout) layout_image_full_screen_start(vf->layout);