summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-03-30 16:08:20 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2011-03-30 20:31:39 +0100
commit905f245233688aa6b4e9efb5e355ef7554963c13 (patch)
treed2ab35f7170f8aa762ca3ae44b03578fca83a248
parentfaa342e0cd52171a34be8d8f68e9b3bfcc902794 (diff)
opensubtitles: Fix the GDK key constants used
Guess what? Another bug caused by GIR changes for GDK!
-rw-r--r--src/plugins/opensubtitles/opensubtitles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index a5b5c501..3b419cab 100644
--- a/src/plugins/opensubtitles/opensubtitles.py
+++ b/src/plugins/opensubtitles/opensubtitles.py
@@ -604,7 +604,7 @@ class OpenSubtitles(gobject.GObject, Peas.Activatable):
# Callbacks
def on_window__key_press_event(self, widget, event):
- if event.keyval == Gdk.Escape:
+ if event.keyval == Gdk.KEY_Escape:
self.dialog.destroy()
self.dialog = None
return True