changeset 86:cade6a52a165

Mon Oct 23 05:34:29 2006 John Ellis <johne@verizon.net> * img-view.c, layout_image.c, layout_util.c, pan-view.c: Make F11 also toggle fullscreen.
author gqview
date Mon, 23 Oct 2006 09:40:37 +0000
parents 9d5c75b5ec28
children a2b0a7b0b490
files ChangeLog TODO src/img-view.c src/layout_image.c src/layout_util.c src/pan-view.c
diffstat 6 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Oct 20 13:25:03 2006 +0000
+++ b/ChangeLog	Mon Oct 23 09:40:37 2006 +0000
@@ -1,3 +1,8 @@
+Mon Oct 23 05:34:29 2006  John Ellis  <johne@verizon.net>
+
+	* img-view.c, layout_image.c, layout_util.c, pan-view.c: Make F11 also
+	toggle fullscreen.
+
 Fri Oct 20 09:20:10 2006  John Ellis  <johne@verizon.net>
 
 	* collect-table.c, collect.c, dupe.c, pan-view.c, search.c,
--- a/TODO	Fri Oct 20 13:25:03 2006 +0000
+++ b/TODO	Mon Oct 23 09:40:37 2006 +0000
@@ -91,6 +91,7 @@
    > Holding down shift will now scroll more when panning with mouse.
    > add --geometry command line option
    > add [shift]+G grayscale alteration
+   > add F11 for full screen toggle
 
    > add blurb about moving images between collections with shift+drag
 
--- a/src/img-view.c	Fri Oct 20 13:25:03 2006 +0000
+++ b/src/img-view.c	Mon Oct 23 09:40:37 2006 +0000
@@ -533,6 +533,7 @@
 				break;
 			case 'F': case 'f':
 			case 'V': case 'v':
+			case GDK_F11:
 				view_fullscreen_toggle(vw, FALSE);
 				break;
 			case 'I': case 'i':
--- a/src/layout_image.c	Fri Oct 20 13:25:03 2006 +0000
+++ b/src/layout_image.c	Mon Oct 23 09:40:37 2006 +0000
@@ -312,6 +312,7 @@
 				break;
 			case 'F': case 'f':
 			case 'V': case 'v':
+			case GDK_F11:
 				layout_image_full_screen_stop(lw);
 				break;
 			case GDK_Menu:
--- a/src/layout_util.c	Fri Oct 20 13:25:03 2006 +0000
+++ b/src/layout_util.c	Mon Oct 23 09:40:37 2006 +0000
@@ -219,6 +219,7 @@
 				layout_image_slideshow_pause_toggle(lw);
 				break;
 			case 'V': case 'v':
+			case GDK_F11:
 				if (!(event->state & GDK_MOD1_MASK)) layout_image_full_screen_toggle(lw);
 				break;
 			default:
--- a/src/pan-view.c	Fri Oct 20 13:25:03 2006 +0000
+++ b/src/pan-view.c	Mon Oct 23 09:40:37 2006 +0000
@@ -3564,6 +3564,7 @@
 					break;
 				case 'F': case 'f':
 				case 'V': case 'v':
+				case GDK_F11:
 					pan_fullscreen_toggle(pw, FALSE);
 					break;
 				case 'I': case 'i':