{"action":"created","comment":{"url":"https://api.github.com/repos/pithos/pithos/pulls/comments/46054611","id":46054611,"diff_hunk":"@@ -1039,6 +1068,7 @@ def on_prefs_response(self, widget, response):\n \n         email = self.settings.get_string('email')\n         if response == Gtk.ResponseType.APPLY:\n+            self.worker_run(self.on_explicit_content_filter_checkbox)","path":"pithos/pithos.py","position":56,"original_position":56,"commit_id":"1675eb61f3aa89284ef61cf2f41dc19ff81106c3","original_commit_id":"1675eb61f3aa89284ef61cf2f41dc19ff81106c3","user":{"login":"TingPing","id":798838,"avatar_url":"https://avatars.githubusercontent.com/u/798838?v=3","gravatar_id":"","url":"https://api.github.com/users/TingPing","html_url":"https://github.com/TingPing","followers_url":"https://api.github.com/users/TingPing/followers","following_url":"https://api.github.com/users/TingPing/following{/other_user}","gists_url":"https://api.github.com/users/TingPing/gists{/gist_id}","starred_url":"https://api.github.com/users/TingPing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TingPing/subscriptions","organizations_url":"https://api.github.com/users/TingPing/orgs","repos_url":"https://api.github.com/users/TingPing/repos","events_url":"https://api.github.com/users/TingPing/events{/privacy}","received_events_url":"https://api.github.com/users/TingPing/received_events","type":"User","site_admin":false},"body":">  The art_worker modifies the UI from a thread?\r\n\r\nNope, it calls ```art_callback``` on the main thread.\r\n\r\n> I know that's why I was using GLib.idle_add and not the worker but you told me to use the worker?\r\n\r\nRight you can't block the UI but you can't modify the UI from a thread either, thankfully worker has this callback system that does work in a thread but calls back to the UI thread when done.","created_at":"2015-11-27T15:18:08Z","updated_at":"2015-11-27T15:18:08Z","html_url":"https://github.com/pithos/pithos/pull/250#discussion_r46054611","pull_request_url":"https://api.github.com/repos/pithos/pithos/pulls/250","_links":{"self":{"href":"https://api.github.com/repos/pithos/pithos/pulls/comments/46054611"},"html":{"href":"https://github.com/pithos/pithos/pull/250#discussion_r46054611"},"pull_request":{"href":"https://api.github.com/repos/pithos/pithos/pulls/250"}}},"pull_request":{"url":"https://api.github.com/repos/pithos/pithos/pulls/250","id":49911143,"html_url":"https://github.com/pithos/pithos/pull/250","diff_url":"https://github.com/pithos/pithos/pull/250.diff","patch_url":"https://github.com/pithos/pithos/pull/250.patch","issue_url":"https://api.github.com/repos/pithos/pithos/issues/250","number":250,"state":"open","locked":false,"title":"Added the Explicit Content Filter option to the UI.","user":{"login":"JasonLG1979","id":6667703,"avatar_url":"https://avatars.githubusercontent.com/u/6667703?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonLG1979","html_url":"https://github.com/JasonLG1979","followers_url":"https://api.github.com/users/JasonLG1979/followers","following_url":"https://api.github.com/users/JasonLG1979/following{/other_user}","gists_url":"https://api.github.com/users/JasonLG1979/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonLG1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonLG1979/subscriptions","organizations_url":"https://api.github.com/users/JasonLG1979/orgs","repos_url":"https://api.github.com/users/JasonLG1979/repos","events_url":"https://api.github.com/users/JasonLG1979/events{/privacy}","received_events_url":"https://api.github.com/users/JasonLG1979/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-06T03:02:39Z","updated_at":"2015-11-27T15:18:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"22650171251dcdb6cb0cdb105a6bfe64ddcd1dde","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pithos/pithos/pulls/250/commits","review_comments_url":"https://api.github.com/repos/pithos/pithos/pulls/250/comments","review_comment_url":"https://api.github.com/repos/pithos/pithos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pithos/pithos/issues/250/comments","statuses_url":"https://api.github.com/repos/pithos/pithos/statuses/1675eb61f3aa89284ef61cf2f41dc19ff81106c3","head":{"label":"JasonLG1979:explicit_content_filter","ref":"explicit_content_filter","sha":"1675eb61f3aa89284ef61cf2f41dc19ff81106c3","user":{"login":"JasonLG1979","id":6667703,"avatar_url":"https://avatars.githubusercontent.com/u/6667703?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonLG1979","html_url":"https://github.com/JasonLG1979","followers_url":"https://api.github.com/users/JasonLG1979/followers","following_url":"https://api.github.com/users/JasonLG1979/following{/other_user}","gists_url":"https://api.github.com/users/JasonLG1979/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonLG1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonLG1979/subscriptions","organizations_url":"https://api.github.com/users/JasonLG1979/orgs","repos_url":"https://api.github.com/users/JasonLG1979/repos","events_url":"https://api.github.com/users/JasonLG1979/events{/privacy}","received_events_url":"https://api.github.com/users/JasonLG1979/received_events","type":"User","site_admin":false},"repo":{"id":35840717,"name":"pithos","full_name":"JasonLG1979/pithos","owner":{"login":"JasonLG1979","id":6667703,"avatar_url":"https://avatars.githubusercontent.com/u/6667703?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonLG1979","html_url":"https://github.com/JasonLG1979","followers_url":"https://api.github.com/users/JasonLG1979/followers","following_url":"https://api.github.com/users/JasonLG1979/following{/other_user}","gists_url":"https://api.github.com/users/JasonLG1979/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonLG1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonLG1979/subscriptions","organizations_url":"https://api.github.com/users/JasonLG1979/orgs","repos_url":"https://api.github.com/users/JasonLG1979/repos","events_url":"https://api.github.com/users/JasonLG1979/events{/privacy}","received_events_url":"https://api.github.com/users/JasonLG1979/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JasonLG1979/pithos","description":"A Pandora Radio Client","fork":true,"url":"https://api.github.com/repos/JasonLG1979/pithos","forks_url":"https://api.github.com/repos/JasonLG1979/pithos/forks","keys_url":"https://api.github.com/repos/JasonLG1979/pithos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JasonLG1979/pithos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JasonLG1979/pithos/teams","hooks_url":"https://api.github.com/repos/JasonLG1979/pithos/hooks","issue_events_url":"https://api.github.com/repos/JasonLG1979/pithos/issues/events{/number}","events_url":"https://api.github.com/repos/JasonLG1979/pithos/events","assignees_url":"https://api.github.com/repos/JasonLG1979/pithos/assignees{/user}","branches_url":"https://api.github.com/repos/JasonLG1979/pithos/branches{/branch}","tags_url":"https://api.github.com/repos/JasonLG1979/pithos/tags","blobs_url":"https://api.github.com/repos/JasonLG1979/pithos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JasonLG1979/pithos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JasonLG1979/pithos/git/refs{/sha}","trees_url":"https://api.github.com/repos/JasonLG1979/pithos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JasonLG1979/pithos/statuses/{sha}","languages_url":"https://api.github.com/repos/JasonLG1979/pithos/languages","stargazers_url":"https://api.github.com/repos/JasonLG1979/pithos/stargazers","contributors_url":"https://api.github.com/repos/JasonLG1979/pithos/contributors","subscribers_url":"https://api.github.com/repos/JasonLG1979/pithos/subscribers","subscription_url":"https://api.github.com/repos/JasonLG1979/pithos/subscription","commits_url":"https://api.github.com/repos/JasonLG1979/pithos/commits{/sha}","git_commits_url":"https://api.github.com/repos/JasonLG1979/pithos/git/commits{/sha}","comments_url":"https://api.github.com/repos/JasonLG1979/pithos/comments{/number}","issue_comment_url":"https://api.github.com/repos/JasonLG1979/pithos/issues/comments{/number}","contents_url":"https://api.github.com/repos/JasonLG1979/pithos/contents/{+path}","compare_url":"https://api.github.com/repos/JasonLG1979/pithos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JasonLG1979/pithos/merges","archive_url":"https://api.github.com/repos/JasonLG1979/pithos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JasonLG1979/pithos/downloads","issues_url":"https://api.github.com/repos/JasonLG1979/pithos/issues{/number}","pulls_url":"https://api.github.com/repos/JasonLG1979/pithos/pulls{/number}","milestones_url":"https://api.github.com/repos/JasonLG1979/pithos/milestones{/number}","notifications_url":"https://api.github.com/repos/JasonLG1979/pithos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JasonLG1979/pithos/labels{/name}","releases_url":"https://api.github.com/repos/JasonLG1979/pithos/releases{/id}","created_at":"2015-05-18T20:26:33Z","updated_at":"2015-05-18T20:26:33Z","pushed_at":"2015-11-27T14:48:55Z","git_url":"git://github.com/JasonLG1979/pithos.git","ssh_url":"git@github.com:JasonLG1979/pithos.git","clone_url":"https://github.com/JasonLG1979/pithos.git","svn_url":"https://github.com/JasonLG1979/pithos","homepage":"https://pithos.github.io","size":1366,"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":"pithos:master","ref":"master","sha":"95b0c9e77759af20c0d4a71c61ce30d665e2868f","user":{"login":"pithos","id":4999337,"avatar_url":"https://avatars.githubusercontent.com/u/4999337?v=3","gravatar_id":"","url":"https://api.github.com/users/pithos","html_url":"https://github.com/pithos","followers_url":"https://api.github.com/users/pithos/followers","following_url":"https://api.github.com/users/pithos/following{/other_user}","gists_url":"https://api.github.com/users/pithos/gists{/gist_id}","starred_url":"https://api.github.com/users/pithos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pithos/subscriptions","organizations_url":"https://api.github.com/users/pithos/orgs","repos_url":"https://api.github.com/users/pithos/repos","events_url":"https://api.github.com/users/pithos/events{/privacy}","received_events_url":"https://api.github.com/users/pithos/received_events","type":"Organization","site_admin":false},"repo":{"id":4059604,"name":"pithos","full_name":"pithos/pithos","owner":{"login":"pithos","id":4999337,"avatar_url":"https://avatars.githubusercontent.com/u/4999337?v=3","gravatar_id":"","url":"https://api.github.com/users/pithos","html_url":"https://github.com/pithos","followers_url":"https://api.github.com/users/pithos/followers","following_url":"https://api.github.com/users/pithos/following{/other_user}","gists_url":"https://api.github.com/users/pithos/gists{/gist_id}","starred_url":"https://api.github.com/users/pithos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pithos/subscriptions","organizations_url":"https://api.github.com/users/pithos/orgs","repos_url":"https://api.github.com/users/pithos/repos","events_url":"https://api.github.com/users/pithos/events{/privacy}","received_events_url":"https://api.github.com/users/pithos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pithos/pithos","description":"A Pandora Radio Client","fork":false,"url":"https://api.github.com/repos/pithos/pithos","forks_url":"https://api.github.com/repos/pithos/pithos/forks","keys_url":"https://api.github.com/repos/pithos/pithos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pithos/pithos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pithos/pithos/teams","hooks_url":"https://api.github.com/repos/pithos/pithos/hooks","issue_events_url":"https://api.github.com/repos/pithos/pithos/issues/events{/number}","events_url":"https://api.github.com/repos/pithos/pithos/events","assignees_url":"https://api.github.com/repos/pithos/pithos/assignees{/user}","branches_url":"https://api.github.com/repos/pithos/pithos/branches{/branch}","tags_url":"https://api.github.com/repos/pithos/pithos/tags","blobs_url":"https://api.github.com/repos/pithos/pithos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pithos/pithos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pithos/pithos/git/refs{/sha}","trees_url":"https://api.github.com/repos/pithos/pithos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pithos/pithos/statuses/{sha}","languages_url":"https://api.github.com/repos/pithos/pithos/languages","stargazers_url":"https://api.github.com/repos/pithos/pithos/stargazers","contributors_url":"https://api.github.com/repos/pithos/pithos/contributors","subscribers_url":"https://api.github.com/repos/pithos/pithos/subscribers","subscription_url":"https://api.github.com/repos/pithos/pithos/subscription","commits_url":"https://api.github.com/repos/pithos/pithos/commits{/sha}","git_commits_url":"https://api.github.com/repos/pithos/pithos/git/commits{/sha}","comments_url":"https://api.github.com/repos/pithos/pithos/comments{/number}","issue_comment_url":"https://api.github.com/repos/pithos/pithos/issues/comments{/number}","contents_url":"https://api.github.com/repos/pithos/pithos/contents/{+path}","compare_url":"https://api.github.com/repos/pithos/pithos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pithos/pithos/merges","archive_url":"https://api.github.com/repos/pithos/pithos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pithos/pithos/downloads","issues_url":"https://api.github.com/repos/pithos/pithos/issues{/number}","pulls_url":"https://api.github.com/repos/pithos/pithos/pulls{/number}","milestones_url":"https://api.github.com/repos/pithos/pithos/milestones{/number}","notifications_url":"https://api.github.com/repos/pithos/pithos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pithos/pithos/labels{/name}","releases_url":"https://api.github.com/repos/pithos/pithos/releases{/id}","created_at":"2012-04-18T02:51:30Z","updated_at":"2015-11-25T17:16:24Z","pushed_at":"2015-11-27T14:48:56Z","git_url":"git://github.com/pithos/pithos.git","ssh_url":"git@github.com:pithos/pithos.git","clone_url":"https://github.com/pithos/pithos.git","svn_url":"https://github.com/pithos/pithos","homepage":"https://pithos.github.io","size":1707,"stargazers_count":271,"watchers_count":271,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":32,"forks":89,"open_issues":32,"watchers":271,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pithos/pithos/pulls/250"},"html":{"href":"https://github.com/pithos/pithos/pull/250"},"issue":{"href":"https://api.github.com/repos/pithos/pithos/issues/250"},"comments":{"href":"https://api.github.com/repos/pithos/pithos/issues/250/comments"},"review_comments":{"href":"https://api.github.com/repos/pithos/pithos/pulls/250/comments"},"review_comment":{"href":"https://api.github.com/repos/pithos/pithos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pithos/pithos/pulls/250/commits"},"statuses":{"href":"https://api.github.com/repos/pithos/pithos/statuses/1675eb61f3aa89284ef61cf2f41dc19ff81106c3"}}}}