GitHub PullRequestReviewCommentEvent at 2014-10-31 03:34:39
Repository: AndroidViewClient
Actor: dtmilano
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/comments/19650557","id":19650557,"diff_hunk":"@@ -0,0 +1,99 @@\n+#! /usr/bin/env python\n+\n+'''\n+    Copyright (C) 2014\n+    Created on Oct 28, 2014\n+    \n+    @author: AK\n+'''\n+\n+__version__ = '1.0'\n+\n+import Tkinter\n+import sys\n+\n+\n+\n+class Operation:\n+    PRESS = 'press'\n+\n+\n+class Color:\n+    DARK_GRAY = '#222222'\n+    LIGHT_GRAY = '#dddddd'\n+    BLUE = '#5058a4'\n+\n+\n+class ControlPanel(Tkinter.Toplevel):\n+\n+    def __init__(self, culebron, vc, printOperation, **kwargs):\n+        self.culebron = culebron\n+        self.parent = culebron.window\n+        Tkinter.Toplevel.__init__(self, self.parent)\n+        self.title(\"Control Panel v\" + __version__)\n+        self.resizable(0, 0)\n+        self.printOperation = printOperation\n+        self.vc = vc\n+        self.grid()\n+        self.Column = 0\n+        self.Row = 0\n+\n+        \n+        buttons_list = [\n+                   'KEYCODE_1', 'KEYCODE_6', 'KEYCODE_BACK', 'KEYCODE_DPAD_UP', 'KEYCODE_PAGE_UP',\n+                   'KEYCODE_2', 'KEYCODE_7', 'KEYCODE_SPACE', 'KEYCODE_DPAD_DOWN', 'KEYCODE_PAGE_DOWN',\n+                   'KEYCODE_3', 'KEYCODE_8', 'KEYCODE_ENTER', 'KEYCODE_DPAD_LEFT', 'KEYCODE_VOLUME_UP',\n+                   'KEYCODE_4', 'KEYCODE_9', 'KEYCODE_DEL', 'KEYCODE_DPAD_RIGHT', 'KEYCODE_VOLUME_DOWN',\n+                   'KEYCODE_5', 'KEYCODE_0', 'KEYCODE_SEARCH', 'KEYCODE_DPAD_CENTER', 'KEYCODE_VOLUME_MUTE',\n+                   'KEYCODE_TV',  'KEYCODE_POWER', 'KEYCODE_EXPLORER', 'KEYCODE_MENU', 'KEYCODE_CALENDAR',\n+                   'KEYCODE_CHANNEL_UP', 'KEYCODE_GUIDE', 'KEYCODE_ZOOM_IN', 'KEYCODE_APP_SWITCH', 'KEYCODE_CALCULATOR',\n+                   'KEYCODE_CHANNEL_DOWN', 'KEYCODE_SETTINGS', 'KEYCODE_ZOOM_OUT', 'KEYCODE_HOME', 'KEYCODE_CAMERA',\n+                   'KEYCODE_MUSIC', 'KEYCODE_BOOKMARK', 'KEYCODE_CALL', 'KEYCODE_BRIGHTNESS_UP', 'KEYCODE_BRIGHTNESS_DOWN',\n+                   'KEYCODE_FORWARD', 'KEYCODE_BUTTON_MODE', 'CUSTOM__SNAPSHOPT', 'CUSTOM__REFRESH', 'CUSTOM__QUIT'\n+                  ]\n+\n+\n+        for button in buttons_list:\n+            self.button = KeyboardButton(self, culebron, vc, printOperation, value=button, text=button[8:], width=14,","path":"src/com/dtmilano/android/controlpanel.py","position":57,"original_position":57,"commit_id":"da5d093ad1247951c828de5181bdcb31d3e900a9","original_commit_id":"da5d093ad1247951c828de5181bdcb31d3e900a9","user":{"login":"dtmilano","id":982482,"avatar_url":"https://avatars.githubusercontent.com/u/982482?v=2","gravatar_id":"","url":"https://api.github.com/users/dtmilano","html_url":"https://github.com/dtmilano","followers_url":"https://api.github.com/users/dtmilano/followers","following_url":"https://api.github.com/users/dtmilano/following{/other_user}","gists_url":"https://api.github.com/users/dtmilano/gists{/gist_id}","starred_url":"https://api.github.com/users/dtmilano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtmilano/subscriptions","organizations_url":"https://api.github.com/users/dtmilano/orgs","repos_url":"https://api.github.com/users/dtmilano/repos","events_url":"https://api.github.com/users/dtmilano/events{/privacy}","received_events_url":"https://api.github.com/users/dtmilano/received_events","type":"User","site_admin":false},"body":"Not convinced about the [8:], but we can leave it for now.","created_at":"2014-10-31T03:34:39Z","updated_at":"2014-10-31T03:34:39Z","html_url":"https://github.com/dtmilano/AndroidViewClient/pull/102#discussion_r19650557","pull_request_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/comments/19650557"},"html":{"href":"https://github.com/dtmilano/AndroidViewClient/pull/102#discussion_r19650557"},"pull_request":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/102","id":23654203,"html_url":"https://github.com/dtmilano/AndroidViewClient/pull/102","diff_url":"https://github.com/dtmilano/AndroidViewClient/pull/102.diff","patch_url":"https://github.com/dtmilano/AndroidViewClient/pull/102.patch","issue_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/issues/102","number":102,"state":"open","locked":false,"title":"Added features","user":{"login":"awkasem","id":9137561,"avatar_url":"https://avatars.githubusercontent.com/u/9137561?v=2","gravatar_id":"","url":"https://api.github.com/users/awkasem","html_url":"https://github.com/awkasem","followers_url":"https://api.github.com/users/awkasem/followers","following_url":"https://api.github.com/users/awkasem/following{/other_user}","gists_url":"https://api.github.com/users/awkasem/gists{/gist_id}","starred_url":"https://api.github.com/users/awkasem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awkasem/subscriptions","organizations_url":"https://api.github.com/users/awkasem/orgs","repos_url":"https://api.github.com/users/awkasem/repos","events_url":"https://api.github.com/users/awkasem/events{/privacy}","received_events_url":"https://api.github.com/users/awkasem/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-10-31T03:19:46Z","updated_at":"2014-10-31T03:34:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61611140bc9571422e35f70ff99db227e82098ba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/102/commits","review_comments_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/102/comments","review_comment_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/issues/102/comments","statuses_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/statuses/da5d093ad1247951c828de5181bdcb31d3e900a9","head":{"label":"awkasem:added_features","ref":"added_features","sha":"da5d093ad1247951c828de5181bdcb31d3e900a9","user":{"login":"awkasem","id":9137561,"avatar_url":"https://avatars.githubusercontent.com/u/9137561?v=2","gravatar_id":"","url":"https://api.github.com/users/awkasem","html_url":"https://github.com/awkasem","followers_url":"https://api.github.com/users/awkasem/followers","following_url":"https://api.github.com/users/awkasem/following{/other_user}","gists_url":"https://api.github.com/users/awkasem/gists{/gist_id}","starred_url":"https://api.github.com/users/awkasem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awkasem/subscriptions","organizations_url":"https://api.github.com/users/awkasem/orgs","repos_url":"https://api.github.com/users/awkasem/repos","events_url":"https://api.github.com/users/awkasem/events{/privacy}","received_events_url":"https://api.github.com/users/awkasem/received_events","type":"User","site_admin":false},"repo":{"id":25663507,"name":"AndroidViewClient","full_name":"awkasem/AndroidViewClient","owner":{"login":"awkasem","id":9137561,"avatar_url":"https://avatars.githubusercontent.com/u/9137561?v=2","gravatar_id":"","url":"https://api.github.com/users/awkasem","html_url":"https://github.com/awkasem","followers_url":"https://api.github.com/users/awkasem/followers","following_url":"https://api.github.com/users/awkasem/following{/other_user}","gists_url":"https://api.github.com/users/awkasem/gists{/gist_id}","starred_url":"https://api.github.com/users/awkasem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awkasem/subscriptions","organizations_url":"https://api.github.com/users/awkasem/orgs","repos_url":"https://api.github.com/users/awkasem/repos","events_url":"https://api.github.com/users/awkasem/events{/privacy}","received_events_url":"https://api.github.com/users/awkasem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/awkasem/AndroidViewClient","description":"Android ViewServer client","fork":true,"url":"https://api.github.com/repos/awkasem/AndroidViewClient","forks_url":"https://api.github.com/repos/awkasem/AndroidViewClient/forks","keys_url":"https://api.github.com/repos/awkasem/AndroidViewClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awkasem/AndroidViewClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awkasem/AndroidViewClient/teams","hooks_url":"https://api.github.com/repos/awkasem/AndroidViewClient/hooks","issue_events_url":"https://api.github.com/repos/awkasem/AndroidViewClient/issues/events{/number}","events_url":"https://api.github.com/repos/awkasem/AndroidViewClient/events","assignees_url":"https://api.github.com/repos/awkasem/AndroidViewClient/assignees{/user}","branches_url":"https://api.github.com/repos/awkasem/AndroidViewClient/branches{/branch}","tags_url":"https://api.github.com/repos/awkasem/AndroidViewClient/tags","blobs_url":"https://api.github.com/repos/awkasem/AndroidViewClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awkasem/AndroidViewClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awkasem/AndroidViewClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/awkasem/AndroidViewClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awkasem/AndroidViewClient/statuses/{sha}","languages_url":"https://api.github.com/repos/awkasem/AndroidViewClient/languages","stargazers_url":"https://api.github.com/repos/awkasem/AndroidViewClient/stargazers","contributors_url":"https://api.github.com/repos/awkasem/AndroidViewClient/contributors","subscribers_url":"https://api.github.com/repos/awkasem/AndroidViewClient/subscribers","subscription_url":"https://api.github.com/repos/awkasem/AndroidViewClient/subscription","commits_url":"https://api.github.com/repos/awkasem/AndroidViewClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/awkasem/AndroidViewClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/awkasem/AndroidViewClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/awkasem/AndroidViewClient/issues/comments/{number}","contents_url":"https://api.github.com/repos/awkasem/AndroidViewClient/contents/{+path}","compare_url":"https://api.github.com/repos/awkasem/AndroidViewClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awkasem/AndroidViewClient/merges","archive_url":"https://api.github.com/repos/awkasem/AndroidViewClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awkasem/AndroidViewClient/downloads","issues_url":"https://api.github.com/repos/awkasem/AndroidViewClient/issues{/number}","pulls_url":"https://api.github.com/repos/awkasem/AndroidViewClient/pulls{/number}","milestones_url":"https://api.github.com/repos/awkasem/AndroidViewClient/milestones{/number}","notifications_url":"https://api.github.com/repos/awkasem/AndroidViewClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awkasem/AndroidViewClient/labels{/name}","releases_url":"https://api.github.com/repos/awkasem/AndroidViewClient/releases{/id}","created_at":"2014-10-24T00:11:11Z","updated_at":"2014-10-24T18:40:32Z","pushed_at":"2014-10-31T03:11:13Z","git_url":"git://github.com/awkasem/AndroidViewClient.git","ssh_url":"git@github.com:awkasem/AndroidViewClient.git","clone_url":"https://github.com/awkasem/AndroidViewClient.git","svn_url":"https://github.com/awkasem/AndroidViewClient","homepage":null,"size":2304,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dtmilano:master","ref":"master","sha":"322bb2331d17025253bf96669ecf97fc8d58f74d","user":{"login":"dtmilano","id":982482,"avatar_url":"https://avatars.githubusercontent.com/u/982482?v=2","gravatar_id":"","url":"https://api.github.com/users/dtmilano","html_url":"https://github.com/dtmilano","followers_url":"https://api.github.com/users/dtmilano/followers","following_url":"https://api.github.com/users/dtmilano/following{/other_user}","gists_url":"https://api.github.com/users/dtmilano/gists{/gist_id}","starred_url":"https://api.github.com/users/dtmilano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtmilano/subscriptions","organizations_url":"https://api.github.com/users/dtmilano/orgs","repos_url":"https://api.github.com/users/dtmilano/repos","events_url":"https://api.github.com/users/dtmilano/events{/privacy}","received_events_url":"https://api.github.com/users/dtmilano/received_events","type":"User","site_admin":false},"repo":{"id":3332415,"name":"AndroidViewClient","full_name":"dtmilano/AndroidViewClient","owner":{"login":"dtmilano","id":982482,"avatar_url":"https://avatars.githubusercontent.com/u/982482?v=2","gravatar_id":"","url":"https://api.github.com/users/dtmilano","html_url":"https://github.com/dtmilano","followers_url":"https://api.github.com/users/dtmilano/followers","following_url":"https://api.github.com/users/dtmilano/following{/other_user}","gists_url":"https://api.github.com/users/dtmilano/gists{/gist_id}","starred_url":"https://api.github.com/users/dtmilano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtmilano/subscriptions","organizations_url":"https://api.github.com/users/dtmilano/orgs","repos_url":"https://api.github.com/users/dtmilano/repos","events_url":"https://api.github.com/users/dtmilano/events{/privacy}","received_events_url":"https://api.github.com/users/dtmilano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtmilano/AndroidViewClient","description":"Android ViewServer client","fork":false,"url":"https://api.github.com/repos/dtmilano/AndroidViewClient","forks_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/forks","keys_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/teams","hooks_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/hooks","issue_events_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/issues/events{/number}","events_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/events","assignees_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/assignees{/user}","branches_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/branches{/branch}","tags_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/tags","blobs_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/statuses/{sha}","languages_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/languages","stargazers_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/stargazers","contributors_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/contributors","subscribers_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/subscribers","subscription_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/subscription","commits_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/issues/comments/{number}","contents_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/contents/{+path}","compare_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/merges","archive_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/downloads","issues_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/issues{/number}","pulls_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls{/number}","milestones_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/milestones{/number}","notifications_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/labels{/name}","releases_url":"https://api.github.com/repos/dtmilano/AndroidViewClient/releases{/id}","created_at":"2012-02-02T06:04:40Z","updated_at":"2014-10-30T05:10:40Z","pushed_at":"2014-10-30T17:00:49Z","git_url":"git://github.com/dtmilano/AndroidViewClient.git","ssh_url":"git@github.com:dtmilano/AndroidViewClient.git","clone_url":"https://github.com/dtmilano/AndroidViewClient.git","svn_url":"https://github.com/dtmilano/AndroidViewClient","homepage":null,"size":7515,"stargazers_count":174,"watchers_count":174,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":35,"forks":68,"open_issues":35,"watchers":174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/102"},"html":{"href":"https://github.com/dtmilano/AndroidViewClient/pull/102"},"issue":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/issues/102"},"comments":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/dtmilano/AndroidViewClient/statuses/da5d093ad1247951c828de5181bdcb31d3e900a9"}}}}