{"action":"closed","number":1544,"pull_request":{"url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls/1544","id":66765663,"html_url":"https://github.com/Alexey-Yakovenko/deadbeef/pull/1544","diff_url":"https://github.com/Alexey-Yakovenko/deadbeef/pull/1544.diff","patch_url":"https://github.com/Alexey-Yakovenko/deadbeef/pull/1544.patch","issue_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/issues/1544","number":1544,"state":"closed","locked":false,"title":"gtkui: add new splitter widget","user":{"login":"cboxdoerfer","id":6108388,"avatar_url":"https://avatars.githubusercontent.com/u/6108388?v=3","gravatar_id":"","url":"https://api.github.com/users/cboxdoerfer","html_url":"https://github.com/cboxdoerfer","followers_url":"https://api.github.com/users/cboxdoerfer/followers","following_url":"https://api.github.com/users/cboxdoerfer/following{/other_user}","gists_url":"https://api.github.com/users/cboxdoerfer/gists{/gist_id}","starred_url":"https://api.github.com/users/cboxdoerfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboxdoerfer/subscriptions","organizations_url":"https://api.github.com/users/cboxdoerfer/orgs","repos_url":"https://api.github.com/users/cboxdoerfer/repos","events_url":"https://api.github.com/users/cboxdoerfer/events{/privacy}","received_events_url":"https://api.github.com/users/cboxdoerfer/received_events","type":"User","site_admin":false},"body":"This pull request adds a new container widget (DdbSplitter, similar to GtkPaned) to the gtkui that's now used internally by the horizontal and vertical splitter (instead of GtkPaned and GtkBox). It works similar to the foobar2000 splitter widget.\r\n\r\nThe splitter widget now has the following config entries:\r\n- `locked`\r\n  - `0`: proportional scaling\r\n  - `1`: lock size of first child\r\n  - `2`: lock size of second child (new)\r\n- `prop` (new)\r\n  - `float_value` `[0.0, 1.0]`: the proportion value used in proportional scaling\r\n- `size_c1` (new)\r\n  - the size of the first child, this is the same as the old `pos` value and used to determine the size when child 1 is locked\r\n- `size_c2` (new)\r\n  - the size of the second child, used when child 2 is locked\r\n\r\nThe container has the following features:\r\n- ability to hold up to two child widgets\r\n- proportional scaling\r\n- ability to lock the size of the first or second widget\r\n- horizontal or vertical layout\r\n- if no child is locked double click on splitter handle resets the handle pos to half the splitter width/height\r\n\r\nThis should fix the following issues: #1432 #975 #1378 #1469\r\n\r\n","created_at":"2016-04-17T11:32:47Z","updated_at":"2016-04-17T19:35:28Z","closed_at":"2016-04-17T19:35:28Z","merged_at":"2016-04-17T19:35:28Z","merge_commit_sha":"e14ae486360e388da4732cdfbc6c008b85057922","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls/1544/commits","review_comments_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls/1544/comments","review_comment_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/issues/1544/comments","statuses_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/statuses/b1df4d5c520d8e9406c51a5f7bbbf33b0efa37da","head":{"label":"cboxdoerfer:add_splitter","ref":"add_splitter","sha":"b1df4d5c520d8e9406c51a5f7bbbf33b0efa37da","user":{"login":"cboxdoerfer","id":6108388,"avatar_url":"https://avatars.githubusercontent.com/u/6108388?v=3","gravatar_id":"","url":"https://api.github.com/users/cboxdoerfer","html_url":"https://github.com/cboxdoerfer","followers_url":"https://api.github.com/users/cboxdoerfer/followers","following_url":"https://api.github.com/users/cboxdoerfer/following{/other_user}","gists_url":"https://api.github.com/users/cboxdoerfer/gists{/gist_id}","starred_url":"https://api.github.com/users/cboxdoerfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboxdoerfer/subscriptions","organizations_url":"https://api.github.com/users/cboxdoerfer/orgs","repos_url":"https://api.github.com/users/cboxdoerfer/repos","events_url":"https://api.github.com/users/cboxdoerfer/events{/privacy}","received_events_url":"https://api.github.com/users/cboxdoerfer/received_events","type":"User","site_admin":false},"repo":{"id":16647734,"name":"deadbeef","full_name":"cboxdoerfer/deadbeef","owner":{"login":"cboxdoerfer","id":6108388,"avatar_url":"https://avatars.githubusercontent.com/u/6108388?v=3","gravatar_id":"","url":"https://api.github.com/users/cboxdoerfer","html_url":"https://github.com/cboxdoerfer","followers_url":"https://api.github.com/users/cboxdoerfer/followers","following_url":"https://api.github.com/users/cboxdoerfer/following{/other_user}","gists_url":"https://api.github.com/users/cboxdoerfer/gists{/gist_id}","starred_url":"https://api.github.com/users/cboxdoerfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboxdoerfer/subscriptions","organizations_url":"https://api.github.com/users/cboxdoerfer/orgs","repos_url":"https://api.github.com/users/cboxdoerfer/repos","events_url":"https://api.github.com/users/cboxdoerfer/events{/privacy}","received_events_url":"https://api.github.com/users/cboxdoerfer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cboxdoerfer/deadbeef","description":"DeaDBeeF Player (official repository)","fork":true,"url":"https://api.github.com/repos/cboxdoerfer/deadbeef","forks_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/forks","keys_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/teams","hooks_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/hooks","issue_events_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/issues/events{/number}","events_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/events","assignees_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/assignees{/user}","branches_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/branches{/branch}","tags_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/tags","blobs_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/git/refs{/sha}","trees_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/statuses/{sha}","languages_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/languages","stargazers_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/stargazers","contributors_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/contributors","subscribers_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/subscribers","subscription_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/subscription","commits_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/commits{/sha}","git_commits_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/git/commits{/sha}","comments_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/comments{/number}","issue_comment_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/issues/comments{/number}","contents_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/contents/{+path}","compare_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/merges","archive_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/downloads","issues_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/issues{/number}","pulls_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/pulls{/number}","milestones_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/milestones{/number}","notifications_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/labels{/name}","releases_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/releases{/id}","deployments_url":"https://api.github.com/repos/cboxdoerfer/deadbeef/deployments","created_at":"2014-02-08T16:53:01Z","updated_at":"2015-04-23T11:16:50Z","pushed_at":"2016-04-17T14:56:43Z","git_url":"git://github.com/cboxdoerfer/deadbeef.git","ssh_url":"git@github.com:cboxdoerfer/deadbeef.git","clone_url":"https://github.com/cboxdoerfer/deadbeef.git","svn_url":"https://github.com/cboxdoerfer/deadbeef","homepage":"http://deadbeef.sf.net","size":53045,"stargazers_count":0,"watchers_count":0,"language":"C","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":"Alexey-Yakovenko:master","ref":"master","sha":"653eb39b6a6d6832d20ba33b311053f0dc0a5cce","user":{"login":"Alexey-Yakovenko","id":1895698,"avatar_url":"https://avatars.githubusercontent.com/u/1895698?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexey-Yakovenko","html_url":"https://github.com/Alexey-Yakovenko","followers_url":"https://api.github.com/users/Alexey-Yakovenko/followers","following_url":"https://api.github.com/users/Alexey-Yakovenko/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-Yakovenko/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-Yakovenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-Yakovenko/subscriptions","organizations_url":"https://api.github.com/users/Alexey-Yakovenko/orgs","repos_url":"https://api.github.com/users/Alexey-Yakovenko/repos","events_url":"https://api.github.com/users/Alexey-Yakovenko/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-Yakovenko/received_events","type":"User","site_admin":false},"repo":{"id":15237541,"name":"deadbeef","full_name":"Alexey-Yakovenko/deadbeef","owner":{"login":"Alexey-Yakovenko","id":1895698,"avatar_url":"https://avatars.githubusercontent.com/u/1895698?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexey-Yakovenko","html_url":"https://github.com/Alexey-Yakovenko","followers_url":"https://api.github.com/users/Alexey-Yakovenko/followers","following_url":"https://api.github.com/users/Alexey-Yakovenko/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-Yakovenko/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-Yakovenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-Yakovenko/subscriptions","organizations_url":"https://api.github.com/users/Alexey-Yakovenko/orgs","repos_url":"https://api.github.com/users/Alexey-Yakovenko/repos","events_url":"https://api.github.com/users/Alexey-Yakovenko/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-Yakovenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alexey-Yakovenko/deadbeef","description":"DeaDBeeF Player","fork":false,"url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef","forks_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/forks","keys_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/teams","hooks_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/hooks","issue_events_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/issues/events{/number}","events_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/events","assignees_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/assignees{/user}","branches_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/branches{/branch}","tags_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/tags","blobs_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/statuses/{sha}","languages_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/languages","stargazers_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/stargazers","contributors_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/contributors","subscribers_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/subscribers","subscription_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/subscription","commits_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/contents/{+path}","compare_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/merges","archive_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/downloads","issues_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/issues{/number}","pulls_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls{/number}","milestones_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/milestones{/number}","notifications_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/labels{/name}","releases_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/releases{/id}","deployments_url":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/deployments","created_at":"2013-12-16T21:21:05Z","updated_at":"2016-04-17T15:26:59Z","pushed_at":"2016-04-17T19:35:28Z","git_url":"git://github.com/Alexey-Yakovenko/deadbeef.git","ssh_url":"git@github.com:Alexey-Yakovenko/deadbeef.git","clone_url":"https://github.com/Alexey-Yakovenko/deadbeef.git","svn_url":"https://github.com/Alexey-Yakovenko/deadbeef","homepage":"http://deadbeef.sf.net","size":72116,"stargazers_count":328,"watchers_count":328,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":284,"forks":56,"open_issues":284,"watchers":328,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls/1544"},"html":{"href":"https://github.com/Alexey-Yakovenko/deadbeef/pull/1544"},"issue":{"href":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/issues/1544"},"comments":{"href":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/issues/1544/comments"},"review_comments":{"href":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls/1544/comments"},"review_comment":{"href":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/pulls/1544/commits"},"statuses":{"href":"https://api.github.com/repos/Alexey-Yakovenko/deadbeef/statuses/b1df4d5c520d8e9406c51a5f7bbbf33b0efa37da"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Alexey-Yakovenko","id":1895698,"avatar_url":"https://avatars.githubusercontent.com/u/1895698?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexey-Yakovenko","html_url":"https://github.com/Alexey-Yakovenko","followers_url":"https://api.github.com/users/Alexey-Yakovenko/followers","following_url":"https://api.github.com/users/Alexey-Yakovenko/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-Yakovenko/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-Yakovenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-Yakovenko/subscriptions","organizations_url":"https://api.github.com/users/Alexey-Yakovenko/orgs","repos_url":"https://api.github.com/users/Alexey-Yakovenko/repos","events_url":"https://api.github.com/users/Alexey-Yakovenko/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-Yakovenko/received_events","type":"User","site_admin":false},"comments":1,"review_comments":8,"commits":9,"additions":1586,"deletions":154,"changed_files":6}}