summaryrefslogtreecommitdiff
path: root/src/totem-object.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-12-15 16:16:43 +0000
committerBastien Nocera <hadess@hadess.net>2009-12-15 16:16:43 +0000
commitc8baa5bdf6737a7e82025e99a83376f6ea174365 (patch)
tree4a9f9714eca8be13bb093190d3a448d8699e60f2 /src/totem-object.c
parentb8b835d197551d3272c1c071c5aa6b26da82d9de (diff)
downloadtotem-c8baa5bdf6737a7e82025e99a83376f6ea174365.tar.gz
Add GConf key to disable all keyboard shortcuts
https://bugzilla.gnome.org/show_bug.cgi?id=573149
Diffstat (limited to 'src/totem-object.c')
-rw-r--r--src/totem-object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/totem-object.c b/src/totem-object.c
index 9260ef383..2e4bd62a3 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3818,6 +3818,8 @@ window_key_press_event_cb (GtkWidget *win, GdkEventKey *event, Totem *totem)
{
if (totem_sidebar_is_focused (totem) != FALSE)
return FALSE;
+ if (totem->disable_kbd_shortcuts != FALSE)
+ return FALSE;
/* Special case Eject, Open, Open URI and
* seeking keyboard shortcuts */