{"action":"created","comment":{"url":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/comments/80757832","pull_request_review_id":1791083,"id":80757832,"diff_hunk":"@@ -0,0 +1,27 @@\n+# -*- coding: utf-8 -*-\n+\n+from __future__ import unicode_literals\n+\n+from hamster_gtk.preferences import PreferencesDialog\n+\n+\n+class TestPreferencesDialog(object):\n+    \"\"\"Unittests for PreferencesDialog.\"\"\"\n+\n+    def test_init(self, dummy_window, app, config):\n+        \"\"\"Make instantiation works as expected.\"\"\"\n+        result = PreferencesDialog(dummy_window, app, config)\n+        grid = result.get_content_area().get_children()[0]\n+        # This assumes 2 children per config entry (label and widget).\n+        assert len(grid.get_children()) / 2 == len(config.keys())\n+","path":"tests/preferences/test_preferences_dialog.py","position":17,"original_position":17,"commit_id":"2758ea65c4ea930a97192ad0db6d96aeb5df53bd","original_commit_id":"7cda89bef00a88df096bcac0cbd3d43158e9bbb5","user":{"login":"elbenfreund","id":332483,"avatar_url":"https://avatars.githubusercontent.com/u/332483?v=3","gravatar_id":"","url":"https://api.github.com/users/elbenfreund","html_url":"https://github.com/elbenfreund","followers_url":"https://api.github.com/users/elbenfreund/followers","following_url":"https://api.github.com/users/elbenfreund/following{/other_user}","gists_url":"https://api.github.com/users/elbenfreund/gists{/gist_id}","starred_url":"https://api.github.com/users/elbenfreund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbenfreund/subscriptions","organizations_url":"https://api.github.com/users/elbenfreund/orgs","repos_url":"https://api.github.com/users/elbenfreund/repos","events_url":"https://api.github.com/users/elbenfreund/events{/privacy}","received_events_url":"https://api.github.com/users/elbenfreund/received_events","type":"User","site_admin":false},"body":"This seems to be still true in ``2758ea65c4ea930a97192ad0db6d96aeb5df53bd``.","created_at":"2016-09-27T18:07:55Z","updated_at":"2016-09-27T18:07:56Z","html_url":"https://github.com/projecthamster/hamster-gtk/pull/83#discussion_r80757832","pull_request_url":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/comments/80757832"},"html":{"href":"https://github.com/projecthamster/hamster-gtk/pull/83#discussion_r80757832"},"pull_request":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/83","id":86620460,"html_url":"https://github.com/projecthamster/hamster-gtk/pull/83","diff_url":"https://github.com/projecthamster/hamster-gtk/pull/83.diff","patch_url":"https://github.com/projecthamster/hamster-gtk/pull/83.patch","issue_url":"https://api.github.com/repos/projecthamster/hamster-gtk/issues/83","number":83,"state":"open","locked":false,"title":"Refactor preferences into separate files","user":{"login":"jtojnar","id":705123,"avatar_url":"https://avatars.githubusercontent.com/u/705123?v=3","gravatar_id":"","url":"https://api.github.com/users/jtojnar","html_url":"https://github.com/jtojnar","followers_url":"https://api.github.com/users/jtojnar/followers","following_url":"https://api.github.com/users/jtojnar/following{/other_user}","gists_url":"https://api.github.com/users/jtojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/jtojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtojnar/subscriptions","organizations_url":"https://api.github.com/users/jtojnar/orgs","repos_url":"https://api.github.com/users/jtojnar/repos","events_url":"https://api.github.com/users/jtojnar/events{/privacy}","received_events_url":"https://api.github.com/users/jtojnar/received_events","type":"User","site_admin":false},"body":"PreferencesDialog was extracted from main file and the preferences widgets were extracted from the preferences dialog. Additionally, mnemonics were added to preferences.","created_at":"2016-09-24T15:06:39Z","updated_at":"2016-09-27T18:07:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"400810b5f4729ccbd8adb945d2eac101559f2308","assignee":{"login":"jtojnar","id":705123,"avatar_url":"https://avatars.githubusercontent.com/u/705123?v=3","gravatar_id":"","url":"https://api.github.com/users/jtojnar","html_url":"https://github.com/jtojnar","followers_url":"https://api.github.com/users/jtojnar/followers","following_url":"https://api.github.com/users/jtojnar/following{/other_user}","gists_url":"https://api.github.com/users/jtojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/jtojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtojnar/subscriptions","organizations_url":"https://api.github.com/users/jtojnar/orgs","repos_url":"https://api.github.com/users/jtojnar/repos","events_url":"https://api.github.com/users/jtojnar/events{/privacy}","received_events_url":"https://api.github.com/users/jtojnar/received_events","type":"User","site_admin":false},"assignees":[{"login":"jtojnar","id":705123,"avatar_url":"https://avatars.githubusercontent.com/u/705123?v=3","gravatar_id":"","url":"https://api.github.com/users/jtojnar","html_url":"https://github.com/jtojnar","followers_url":"https://api.github.com/users/jtojnar/followers","following_url":"https://api.github.com/users/jtojnar/following{/other_user}","gists_url":"https://api.github.com/users/jtojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/jtojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtojnar/subscriptions","organizations_url":"https://api.github.com/users/jtojnar/orgs","repos_url":"https://api.github.com/users/jtojnar/repos","events_url":"https://api.github.com/users/jtojnar/events{/privacy}","received_events_url":"https://api.github.com/users/jtojnar/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/projecthamster/hamster-gtk/milestones/2","html_url":"https://github.com/projecthamster/hamster-gtk/milestones/0.11.0","labels_url":"https://api.github.com/repos/projecthamster/hamster-gtk/milestones/2/labels","id":1835270,"number":2,"title":"0.11.0","description":"","creator":{"login":"elbenfreund","id":332483,"avatar_url":"https://avatars.githubusercontent.com/u/332483?v=3","gravatar_id":"","url":"https://api.github.com/users/elbenfreund","html_url":"https://github.com/elbenfreund","followers_url":"https://api.github.com/users/elbenfreund/followers","following_url":"https://api.github.com/users/elbenfreund/following{/other_user}","gists_url":"https://api.github.com/users/elbenfreund/gists{/gist_id}","starred_url":"https://api.github.com/users/elbenfreund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbenfreund/subscriptions","organizations_url":"https://api.github.com/users/elbenfreund/orgs","repos_url":"https://api.github.com/users/elbenfreund/repos","events_url":"https://api.github.com/users/elbenfreund/events{/privacy}","received_events_url":"https://api.github.com/users/elbenfreund/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":15,"state":"open","created_at":"2016-06-17T19:37:01Z","updated_at":"2016-09-27T16:05:45Z","due_on":"2016-10-02T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/83/commits","review_comments_url":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/83/comments","review_comment_url":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthamster/hamster-gtk/issues/83/comments","statuses_url":"https://api.github.com/repos/projecthamster/hamster-gtk/statuses/2758ea65c4ea930a97192ad0db6d96aeb5df53bd","head":{"label":"jtojnar:settings-widgets","ref":"settings-widgets","sha":"2758ea65c4ea930a97192ad0db6d96aeb5df53bd","user":{"login":"jtojnar","id":705123,"avatar_url":"https://avatars.githubusercontent.com/u/705123?v=3","gravatar_id":"","url":"https://api.github.com/users/jtojnar","html_url":"https://github.com/jtojnar","followers_url":"https://api.github.com/users/jtojnar/followers","following_url":"https://api.github.com/users/jtojnar/following{/other_user}","gists_url":"https://api.github.com/users/jtojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/jtojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtojnar/subscriptions","organizations_url":"https://api.github.com/users/jtojnar/orgs","repos_url":"https://api.github.com/users/jtojnar/repos","events_url":"https://api.github.com/users/jtojnar/events{/privacy}","received_events_url":"https://api.github.com/users/jtojnar/received_events","type":"User","site_admin":false},"repo":{"id":67815671,"name":"hamster-gtk","full_name":"jtojnar/hamster-gtk","owner":{"login":"jtojnar","id":705123,"avatar_url":"https://avatars.githubusercontent.com/u/705123?v=3","gravatar_id":"","url":"https://api.github.com/users/jtojnar","html_url":"https://github.com/jtojnar","followers_url":"https://api.github.com/users/jtojnar/followers","following_url":"https://api.github.com/users/jtojnar/following{/other_user}","gists_url":"https://api.github.com/users/jtojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/jtojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtojnar/subscriptions","organizations_url":"https://api.github.com/users/jtojnar/orgs","repos_url":"https://api.github.com/users/jtojnar/repos","events_url":"https://api.github.com/users/jtojnar/events{/privacy}","received_events_url":"https://api.github.com/users/jtojnar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jtojnar/hamster-gtk","description":"A GTK3 time tracker. Powered by 'hamster-lib'","fork":true,"url":"https://api.github.com/repos/jtojnar/hamster-gtk","forks_url":"https://api.github.com/repos/jtojnar/hamster-gtk/forks","keys_url":"https://api.github.com/repos/jtojnar/hamster-gtk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jtojnar/hamster-gtk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jtojnar/hamster-gtk/teams","hooks_url":"https://api.github.com/repos/jtojnar/hamster-gtk/hooks","issue_events_url":"https://api.github.com/repos/jtojnar/hamster-gtk/issues/events{/number}","events_url":"https://api.github.com/repos/jtojnar/hamster-gtk/events","assignees_url":"https://api.github.com/repos/jtojnar/hamster-gtk/assignees{/user}","branches_url":"https://api.github.com/repos/jtojnar/hamster-gtk/branches{/branch}","tags_url":"https://api.github.com/repos/jtojnar/hamster-gtk/tags","blobs_url":"https://api.github.com/repos/jtojnar/hamster-gtk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jtojnar/hamster-gtk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jtojnar/hamster-gtk/git/refs{/sha}","trees_url":"https://api.github.com/repos/jtojnar/hamster-gtk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jtojnar/hamster-gtk/statuses/{sha}","languages_url":"https://api.github.com/repos/jtojnar/hamster-gtk/languages","stargazers_url":"https://api.github.com/repos/jtojnar/hamster-gtk/stargazers","contributors_url":"https://api.github.com/repos/jtojnar/hamster-gtk/contributors","subscribers_url":"https://api.github.com/repos/jtojnar/hamster-gtk/subscribers","subscription_url":"https://api.github.com/repos/jtojnar/hamster-gtk/subscription","commits_url":"https://api.github.com/repos/jtojnar/hamster-gtk/commits{/sha}","git_commits_url":"https://api.github.com/repos/jtojnar/hamster-gtk/git/commits{/sha}","comments_url":"https://api.github.com/repos/jtojnar/hamster-gtk/comments{/number}","issue_comment_url":"https://api.github.com/repos/jtojnar/hamster-gtk/issues/comments{/number}","contents_url":"https://api.github.com/repos/jtojnar/hamster-gtk/contents/{+path}","compare_url":"https://api.github.com/repos/jtojnar/hamster-gtk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jtojnar/hamster-gtk/merges","archive_url":"https://api.github.com/repos/jtojnar/hamster-gtk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jtojnar/hamster-gtk/downloads","issues_url":"https://api.github.com/repos/jtojnar/hamster-gtk/issues{/number}","pulls_url":"https://api.github.com/repos/jtojnar/hamster-gtk/pulls{/number}","milestones_url":"https://api.github.com/repos/jtojnar/hamster-gtk/milestones{/number}","notifications_url":"https://api.github.com/repos/jtojnar/hamster-gtk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jtojnar/hamster-gtk/labels{/name}","releases_url":"https://api.github.com/repos/jtojnar/hamster-gtk/releases{/id}","deployments_url":"https://api.github.com/repos/jtojnar/hamster-gtk/deployments","created_at":"2016-09-09T16:43:38Z","updated_at":"2016-09-09T16:43:39Z","pushed_at":"2016-09-27T17:05:28Z","git_url":"git://github.com/jtojnar/hamster-gtk.git","ssh_url":"git@github.com:jtojnar/hamster-gtk.git","clone_url":"https://github.com/jtojnar/hamster-gtk.git","svn_url":"https://github.com/jtojnar/hamster-gtk","homepage":"http://projecthamster.org","size":175,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"projecthamster:develop","ref":"develop","sha":"17fa9e16afed81c6c91cc94d442fac7040063f63","user":{"login":"projecthamster","id":2337710,"avatar_url":"https://avatars.githubusercontent.com/u/2337710?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthamster","html_url":"https://github.com/projecthamster","followers_url":"https://api.github.com/users/projecthamster/followers","following_url":"https://api.github.com/users/projecthamster/following{/other_user}","gists_url":"https://api.github.com/users/projecthamster/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthamster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthamster/subscriptions","organizations_url":"https://api.github.com/users/projecthamster/orgs","repos_url":"https://api.github.com/users/projecthamster/repos","events_url":"https://api.github.com/users/projecthamster/events{/privacy}","received_events_url":"https://api.github.com/users/projecthamster/received_events","type":"Organization","site_admin":false},"repo":{"id":46660382,"name":"hamster-gtk","full_name":"projecthamster/hamster-gtk","owner":{"login":"projecthamster","id":2337710,"avatar_url":"https://avatars.githubusercontent.com/u/2337710?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthamster","html_url":"https://github.com/projecthamster","followers_url":"https://api.github.com/users/projecthamster/followers","following_url":"https://api.github.com/users/projecthamster/following{/other_user}","gists_url":"https://api.github.com/users/projecthamster/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthamster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthamster/subscriptions","organizations_url":"https://api.github.com/users/projecthamster/orgs","repos_url":"https://api.github.com/users/projecthamster/repos","events_url":"https://api.github.com/users/projecthamster/events{/privacy}","received_events_url":"https://api.github.com/users/projecthamster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthamster/hamster-gtk","description":"A GTK3 time tracker. Powered by 'hamster-lib'","fork":false,"url":"https://api.github.com/repos/projecthamster/hamster-gtk","forks_url":"https://api.github.com/repos/projecthamster/hamster-gtk/forks","keys_url":"https://api.github.com/repos/projecthamster/hamster-gtk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthamster/hamster-gtk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthamster/hamster-gtk/teams","hooks_url":"https://api.github.com/repos/projecthamster/hamster-gtk/hooks","issue_events_url":"https://api.github.com/repos/projecthamster/hamster-gtk/issues/events{/number}","events_url":"https://api.github.com/repos/projecthamster/hamster-gtk/events","assignees_url":"https://api.github.com/repos/projecthamster/hamster-gtk/assignees{/user}","branches_url":"https://api.github.com/repos/projecthamster/hamster-gtk/branches{/branch}","tags_url":"https://api.github.com/repos/projecthamster/hamster-gtk/tags","blobs_url":"https://api.github.com/repos/projecthamster/hamster-gtk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthamster/hamster-gtk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthamster/hamster-gtk/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthamster/hamster-gtk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthamster/hamster-gtk/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthamster/hamster-gtk/languages","stargazers_url":"https://api.github.com/repos/projecthamster/hamster-gtk/stargazers","contributors_url":"https://api.github.com/repos/projecthamster/hamster-gtk/contributors","subscribers_url":"https://api.github.com/repos/projecthamster/hamster-gtk/subscribers","subscription_url":"https://api.github.com/repos/projecthamster/hamster-gtk/subscription","commits_url":"https://api.github.com/repos/projecthamster/hamster-gtk/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthamster/hamster-gtk/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthamster/hamster-gtk/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthamster/hamster-gtk/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthamster/hamster-gtk/contents/{+path}","compare_url":"https://api.github.com/repos/projecthamster/hamster-gtk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthamster/hamster-gtk/merges","archive_url":"https://api.github.com/repos/projecthamster/hamster-gtk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthamster/hamster-gtk/downloads","issues_url":"https://api.github.com/repos/projecthamster/hamster-gtk/issues{/number}","pulls_url":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthamster/hamster-gtk/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthamster/hamster-gtk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthamster/hamster-gtk/labels{/name}","releases_url":"https://api.github.com/repos/projecthamster/hamster-gtk/releases{/id}","deployments_url":"https://api.github.com/repos/projecthamster/hamster-gtk/deployments","created_at":"2015-11-22T12:50:42Z","updated_at":"2016-09-27T17:23:39Z","pushed_at":"2016-09-27T17:05:28Z","git_url":"git://github.com/projecthamster/hamster-gtk.git","ssh_url":"git@github.com:projecthamster/hamster-gtk.git","clone_url":"https://github.com/projecthamster/hamster-gtk.git","svn_url":"https://github.com/projecthamster/hamster-gtk","homepage":"http://projecthamster.org","size":185,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":43,"forks":4,"open_issues":43,"watchers":12,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/83"},"html":{"href":"https://github.com/projecthamster/hamster-gtk/pull/83"},"issue":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/issues/83"},"comments":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/projecthamster/hamster-gtk/statuses/2758ea65c4ea930a97192ad0db6d96aeb5df53bd"}}}}
{"actor":{"display_login":"elbenfreund"}}