[totem] Bug 590770 – Home in the time slider doesn't go to the beginning



commit ce9e754fb03fa91e630c51592de942768ba21e47
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Aug 5 19:33:26 2009 +0100

    Bug 590770 â?? Home in the time slider doesn't go to the beginning
    
    Add key bindings for Home and End, to seek to the start of the stream and
    start playing the next stream, respectively. Closes: bgo#590770

 src/totem-object.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 2635654..c79f97a 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3457,6 +3457,7 @@ totem_action_handle_key_press (Totem *totem, GdkEventKey *event)
 #endif /* HAVE_XFREE */
 	case GDK_N:
 	case GDK_n:
+	case GDK_End:
 		totem_action_next (totem);
 		break;
 #ifdef HAVE_XFREE
@@ -3556,6 +3557,9 @@ totem_action_handle_key_press (Totem *totem, GdkEventKey *event)
 				bacon_video_widget_dvd_event (totem->bvw, BVW_DVD_ROOT_MENU_RIGHT);
 		}
 		break;
+	case GDK_Home:
+		totem_action_seek (totem, 0);
+		break;
 	case GDK_Up:
 		if (bacon_video_widget_has_menus (totem->bvw) != FALSE)
 			bacon_video_widget_dvd_event (totem->bvw, BVW_DVD_ROOT_MENU_UP);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]