#4853 HIGH Update.: Browse view source doesn't work
Zarro Boogs per Child
bugtracker at laptop.org
Wed Nov 21 16:42:44 EST 2007
#4853: Browse view source doesn't work
------------------------------+---------------------------------------------
Reporter: kimquirk | Owner: ApprovalForUpdate
Type: defect | Status: new
Priority: high | Milestone: Update.1
Component: browse-activity | Version:
Resolution: | Keywords:
Verified: 0 |
------------------------------+---------------------------------------------
Changes (by erikos):
* owner: erikos => ApprovalForUpdate
Comment:
This patch will adopt to the fn+space changes.
{{{
diff --git a/webactivity.py b/webactivity.py
index 123e28d..8b47008 100755
--- a/webactivity.py
+++ b/webactivity.py
@@ -58,7 +58,6 @@ SERVICE = "org.laptop.WebActivity"
IFACE = SERVICE
PATH = "/org/laptop/WebActivity"
-_VIEW_SOURCE_KEY_CODE = 0x1008FF1A
_TOOLBAR_BROWSE = 1
_logger = logging.getLogger('web-activity')
@@ -315,7 +314,7 @@ class WebActivity(activity.Activity):
_logger.debug('keyboard: Zoom in')
self._browser.zoom_in()
return True
- elif event.keyval == _VIEW_SOURCE_KEY_CODE:
+ elif gtk.gdk.keyval_name(event.keyval) == "XF86Start":
_logger.debug('keyboard: Show source of the current page
SHOW_KEY')
self._show_source()
return True
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/4853#comment:9>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list