From a56daa2b9712834011140ddbba93c5c8d7ec98d6 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Fri, 15 Oct 2010 23:39:14 +0000 Subject: [PATCH] rejigger --- macosx/InfoWindowController.m | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 037660257..07842dc0c 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -340,6 +340,14 @@ typedef enum [self setTab: nil]; } +- (void) swipeWithEvent:(NSEvent *) event +{ + if ([event deltaX] < 0.0) + [self setNextTab]; + else if ([event deltaX] > 0.0) + [self setPreviousTab]; +} + - (void) updateInfoStats { [fViewController updateInfo]; @@ -501,12 +509,4 @@ typedef enum [self resetInfo]; } -- (void) swipeWithEvent:(NSEvent *) event -{ - if ([event deltaX] < 0.0) - [self setNextTab]; - else if ([event deltaX] > 0.0) - [self setPreviousTab]; -} - @end