changeset 1206:d79305a42a9b

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.
author zas_
date Sat, 20 Dec 2008 21:30:27 +0000
parents 3ff2aa99108b
children 4742b47b75d1
files src/view_file_icon.c src/view_file_list.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)
 				{
--- 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);