Permalink
Browse files

both backspace and esc will exit the guide now

  • Loading branch information...
1 parent c045307 commit efdff307a958bf450a70252984b251486bc6e2e9 @twinther committed Jan 10, 2011
Showing with 6 additions and 1 deletion.
  1. +4 −0 changelog.txt
  2. BIN fanart.jpg
  3. BIN icon.png
  4. +2 −1 navigation.py
View
@@ -1,3 +1,7 @@
+[B]Version 0.2."[/B]
+- Added icon and fanart
+- Both back (backspace) and menu (esc) will exit the guide now
+
[B]Version 0.2.1[/B]
- Use danishaddons module version 1.1.0
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -5,6 +5,7 @@
KEY_UP = 3
KEY_DOWN = 4
KEY_BACK = 9
+KEY_MENU = 10
CHANNELS_PER_PAGE = 8
@@ -28,7 +29,7 @@ def onAction(self, action, window, controlIds):
print "action.id = %d" % action.getId()
print "self.focusX = %d" % self.focusX
- if action.getId() == KEY_BACK:
+ if action.getId() == KEY_BACK or action.getId() == KEY_MENU:
window.close()
return

0 comments on commit efdff30

Please sign in to comment.