[totem] main: Don't handle Ctrl+Space



commit 3470f761adcae844fc4562a5cf6affbbaefd9c6f
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Mar 26 16:42:26 2012 +0200

    main: Don't handle Ctrl+Space
    
    Ctrl+Space is used for IM switching.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672774

 src/totem-object.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 6caceb6..dafb1d7 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3629,7 +3629,7 @@ totem_action_handle_key_press (TotemObject *totem, GdkEventKey *event)
 		break;
 	case GDK_KEY_space:
 	case GDK_KEY_Return:
-		{
+		if (!(event->state & GDK_CONTROL_MASK)) {
 			GtkWidget *focus = gtk_window_get_focus (GTK_WINDOW (totem->win));
 			if (totem_is_fullscreen (totem) != FALSE || focus == NULL ||
 			    focus == GTK_WIDGET (totem->bvw) || focus == totem->seek) {



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