[totem] opensubtitles: Fix the GDK key constants used
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] opensubtitles: Fix the GDK key constants used
- Date: Wed, 30 Mar 2011 19:32:12 +0000 (UTC)
commit 905f245233688aa6b4e9efb5e355ef7554963c13
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Mar 30 16:08:20 2011 +0100
opensubtitles: Fix the GDK key constants used
Guess what? Another bug caused by GIR changes for GDK!
src/plugins/opensubtitles/opensubtitles.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/opensubtitles/opensubtitles.py b/src/plugins/opensubtitles/opensubtitles.py
index a5b5c50..3b419ca 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]