{"action":"created","comment":{"url":"https://api.github.com/repos/fluendo/VAS/pulls/comments/125289761","pull_request_review_id":47664943,"id":125289761,"diff_hunk":"@@ -0,0 +1,117 @@\n+﻿//\n+//  Copyright (C) 2017 Fluendo S.A.\n+//\n+//  This program is free software; you can redistribute it and/or modify\n+//  it under the terms of the GNU General Public License as published by\n+//  the Free Software Foundation; either version 2 of the License, or\n+//  (at your option) any later version.\n+//\n+//  This program is distributed in the hope that it will be useful,\n+//  but WITHOUT ANY WARRANTY; without even the implied warranty of\n+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+//  GNU General Public License for more details.\n+//\n+//  You should have received a copy of the GNU General Public License\n+//  along with this program; if not, write to the Free Software\n+//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.\n+//\n+using System;\n+using System.Collections.Generic;\n+using Gtk;\n+using Pango;\n+using VAS.Core.Common;\n+using Handlers = VAS.Core.Handlers;\n+\n+namespace VAS.UI\n+{\n+\tpublic partial class SliderView : Window\n+\t{\n+\t\tpublic event Handlers.ValueChangedHandler ValueChanged;\n+\t\tdouble buttonIncrement;\n+\t\tdouble lowerValue;\n+\n+\t\tpublic SliderView (double lowerValue, double upperValue, double pageIncrement, double buttonIncrement)\n+\t\t\t: base (WindowType.Toplevel)\n+\t\t{\n+\t\t\tthis.Build ();\n+\t\t\tthis.buttonIncrement = buttonIncrement;\n+\t\t\tthis.lowerValue = lowerValue;\n+\t\t\tmoreButtonImage.Pixbuf = Helpers.Misc.LoadIcon (\"vas-plus\", StyleConf.PlayerCapturerIconSize);\n+\t\t\tlessButtonImage.Pixbuf = Helpers.Misc.LoadIcon (\"vas-minus\", StyleConf.PlayerCapturerIconSize);\n+\t\t\tmorebutton.Clicked += OnMorebuttonClicked;\n+\t\t\tlessbutton.Clicked += OnLessbuttonClicked;\n+\t\t\tscale.Adjustment.Upper = upperValue;\n+\t\t\tscale.Adjustment.Lower = lowerValue;\n+\t\t\tscale.Adjustment.PageIncrement = pageIncrement;\n+\t\t\tscale.ModifyFont (FontDescription.FromString (App.Current.Style.Font + \" 8\"));\n+\t\t\tscale.ValueChanged += OnScaleValueChanged;\n+\t\t\tscale.FormatValue += HandleScaleFormatValue;\n+\t\t\tscale.ButtonPressEvent += HandleScaleFormatValue;\n+\t\t\tscale.ButtonReleaseEvent += HandleScaleFormatValue;\n+\t\t}\n+\n+\t\tpublic Func<double, string> FormatValue;","path":"VAS.UI.Multimedia.Gtk2/UI/SliderView.cs","position":null,"original_position":53,"commit_id":"bc8887c1537c39c06161bf52f7211d9dabaa40a9","original_commit_id":"91d2a172cbfdb2b61ff981bc5cfc1322e037335b","user":{"login":"dfernandezramos","id":16648184,"avatar_url":"https://avatars0.githubusercontent.com/u/16648184?v=3","gravatar_id":"","url":"https://api.github.com/users/dfernandezramos","html_url":"https://github.com/dfernandezramos","followers_url":"https://api.github.com/users/dfernandezramos/followers","following_url":"https://api.github.com/users/dfernandezramos/following{/other_user}","gists_url":"https://api.github.com/users/dfernandezramos/gists{/gist_id}","starred_url":"https://api.github.com/users/dfernandezramos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfernandezramos/subscriptions","organizations_url":"https://api.github.com/users/dfernandezramos/orgs","repos_url":"https://api.github.com/users/dfernandezramos/repos","events_url":"https://api.github.com/users/dfernandezramos/events{/privacy}","received_events_url":"https://api.github.com/users/dfernandezramos/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2017-07-03T13:30:55Z","updated_at":"2017-07-03T13:30:55Z","html_url":"https://github.com/fluendo/VAS/pull/319#discussion_r125289761","pull_request_url":"https://api.github.com/repos/fluendo/VAS/pulls/319","_links":{"self":{"href":"https://api.github.com/repos/fluendo/VAS/pulls/comments/125289761"},"html":{"href":"https://github.com/fluendo/VAS/pull/319#discussion_r125289761"},"pull_request":{"href":"https://api.github.com/repos/fluendo/VAS/pulls/319"}}},"pull_request":{"url":"https://api.github.com/repos/fluendo/VAS/pulls/319","id":127727689,"html_url":"https://github.com/fluendo/VAS/pull/319","diff_url":"https://github.com/fluendo/VAS/pull/319.diff","patch_url":"https://github.com/fluendo/VAS/pull/319.patch","issue_url":"https://api.github.com/repos/fluendo/VAS/issues/319","number":319,"state":"open","locked":false,"title":"LON-977","user":{"login":"dfernandezramos","id":16648184,"avatar_url":"https://avatars0.githubusercontent.com/u/16648184?v=3","gravatar_id":"","url":"https://api.github.com/users/dfernandezramos","html_url":"https://github.com/dfernandezramos","followers_url":"https://api.github.com/users/dfernandezramos/followers","following_url":"https://api.github.com/users/dfernandezramos/following{/other_user}","gists_url":"https://api.github.com/users/dfernandezramos/gists{/gist_id}","starred_url":"https://api.github.com/users/dfernandezramos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfernandezramos/subscriptions","organizations_url":"https://api.github.com/users/dfernandezramos/orgs","repos_url":"https://api.github.com/users/dfernandezramos/repos","events_url":"https://api.github.com/users/dfernandezramos/events{/privacy}","received_events_url":"https://api.github.com/users/dfernandezramos/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-27T15:43:04Z","updated_at":"2017-07-03T13:30:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3b9a869b44e73f3ae68dca3fa968abbd23b2011","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/fluendo/VAS/pulls/319/commits","review_comments_url":"https://api.github.com/repos/fluendo/VAS/pulls/319/comments","review_comment_url":"https://api.github.com/repos/fluendo/VAS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fluendo/VAS/issues/319/comments","statuses_url":"https://api.github.com/repos/fluendo/VAS/statuses/bc8887c1537c39c06161bf52f7211d9dabaa40a9","head":{"label":"fluendo:LON-977","ref":"LON-977","sha":"bc8887c1537c39c06161bf52f7211d9dabaa40a9","user":{"login":"fluendo","id":669311,"avatar_url":"https://avatars2.githubusercontent.com/u/669311?v=3","gravatar_id":"","url":"https://api.github.com/users/fluendo","html_url":"https://github.com/fluendo","followers_url":"https://api.github.com/users/fluendo/followers","following_url":"https://api.github.com/users/fluendo/following{/other_user}","gists_url":"https://api.github.com/users/fluendo/gists{/gist_id}","starred_url":"https://api.github.com/users/fluendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluendo/subscriptions","organizations_url":"https://api.github.com/users/fluendo/orgs","repos_url":"https://api.github.com/users/fluendo/repos","events_url":"https://api.github.com/users/fluendo/events{/privacy}","received_events_url":"https://api.github.com/users/fluendo/received_events","type":"Organization","site_admin":false},"repo":{"id":54408343,"name":"VAS","full_name":"fluendo/VAS","owner":{"login":"fluendo","id":669311,"avatar_url":"https://avatars2.githubusercontent.com/u/669311?v=3","gravatar_id":"","url":"https://api.github.com/users/fluendo","html_url":"https://github.com/fluendo","followers_url":"https://api.github.com/users/fluendo/followers","following_url":"https://api.github.com/users/fluendo/following{/other_user}","gists_url":"https://api.github.com/users/fluendo/gists{/gist_id}","starred_url":"https://api.github.com/users/fluendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluendo/subscriptions","organizations_url":"https://api.github.com/users/fluendo/orgs","repos_url":"https://api.github.com/users/fluendo/repos","events_url":"https://api.github.com/users/fluendo/events{/privacy}","received_events_url":"https://api.github.com/users/fluendo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fluendo/VAS","description":"Core of Video analysis products","fork":false,"url":"https://api.github.com/repos/fluendo/VAS","forks_url":"https://api.github.com/repos/fluendo/VAS/forks","keys_url":"https://api.github.com/repos/fluendo/VAS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fluendo/VAS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fluendo/VAS/teams","hooks_url":"https://api.github.com/repos/fluendo/VAS/hooks","issue_events_url":"https://api.github.com/repos/fluendo/VAS/issues/events{/number}","events_url":"https://api.github.com/repos/fluendo/VAS/events","assignees_url":"https://api.github.com/repos/fluendo/VAS/assignees{/user}","branches_url":"https://api.github.com/repos/fluendo/VAS/branches{/branch}","tags_url":"https://api.github.com/repos/fluendo/VAS/tags","blobs_url":"https://api.github.com/repos/fluendo/VAS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fluendo/VAS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fluendo/VAS/git/refs{/sha}","trees_url":"https://api.github.com/repos/fluendo/VAS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fluendo/VAS/statuses/{sha}","languages_url":"https://api.github.com/repos/fluendo/VAS/languages","stargazers_url":"https://api.github.com/repos/fluendo/VAS/stargazers","contributors_url":"https://api.github.com/repos/fluendo/VAS/contributors","subscribers_url":"https://api.github.com/repos/fluendo/VAS/subscribers","subscription_url":"https://api.github.com/repos/fluendo/VAS/subscription","commits_url":"https://api.github.com/repos/fluendo/VAS/commits{/sha}","git_commits_url":"https://api.github.com/repos/fluendo/VAS/git/commits{/sha}","comments_url":"https://api.github.com/repos/fluendo/VAS/comments{/number}","issue_comment_url":"https://api.github.com/repos/fluendo/VAS/issues/comments{/number}","contents_url":"https://api.github.com/repos/fluendo/VAS/contents/{+path}","compare_url":"https://api.github.com/repos/fluendo/VAS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fluendo/VAS/merges","archive_url":"https://api.github.com/repos/fluendo/VAS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fluendo/VAS/downloads","issues_url":"https://api.github.com/repos/fluendo/VAS/issues{/number}","pulls_url":"https://api.github.com/repos/fluendo/VAS/pulls{/number}","milestones_url":"https://api.github.com/repos/fluendo/VAS/milestones{/number}","notifications_url":"https://api.github.com/repos/fluendo/VAS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fluendo/VAS/labels{/name}","releases_url":"https://api.github.com/repos/fluendo/VAS/releases{/id}","deployments_url":"https://api.github.com/repos/fluendo/VAS/deployments","created_at":"2016-03-21T17:19:39Z","updated_at":"2016-03-23T08:20:08Z","pushed_at":"2017-07-03T13:06:06Z","git_url":"git://github.com/fluendo/VAS.git","ssh_url":"git@github.com:fluendo/VAS.git","clone_url":"https://github.com/fluendo/VAS.git","svn_url":"https://github.com/fluendo/VAS","homepage":null,"size":4046,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"fluendo:master","ref":"master","sha":"854171457edf9277519cd35f8fa6c980f4bc576b","user":{"login":"fluendo","id":669311,"avatar_url":"https://avatars2.githubusercontent.com/u/669311?v=3","gravatar_id":"","url":"https://api.github.com/users/fluendo","html_url":"https://github.com/fluendo","followers_url":"https://api.github.com/users/fluendo/followers","following_url":"https://api.github.com/users/fluendo/following{/other_user}","gists_url":"https://api.github.com/users/fluendo/gists{/gist_id}","starred_url":"https://api.github.com/users/fluendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluendo/subscriptions","organizations_url":"https://api.github.com/users/fluendo/orgs","repos_url":"https://api.github.com/users/fluendo/repos","events_url":"https://api.github.com/users/fluendo/events{/privacy}","received_events_url":"https://api.github.com/users/fluendo/received_events","type":"Organization","site_admin":false},"repo":{"id":54408343,"name":"VAS","full_name":"fluendo/VAS","owner":{"login":"fluendo","id":669311,"avatar_url":"https://avatars2.githubusercontent.com/u/669311?v=3","gravatar_id":"","url":"https://api.github.com/users/fluendo","html_url":"https://github.com/fluendo","followers_url":"https://api.github.com/users/fluendo/followers","following_url":"https://api.github.com/users/fluendo/following{/other_user}","gists_url":"https://api.github.com/users/fluendo/gists{/gist_id}","starred_url":"https://api.github.com/users/fluendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluendo/subscriptions","organizations_url":"https://api.github.com/users/fluendo/orgs","repos_url":"https://api.github.com/users/fluendo/repos","events_url":"https://api.github.com/users/fluendo/events{/privacy}","received_events_url":"https://api.github.com/users/fluendo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fluendo/VAS","description":"Core of Video analysis products","fork":false,"url":"https://api.github.com/repos/fluendo/VAS","forks_url":"https://api.github.com/repos/fluendo/VAS/forks","keys_url":"https://api.github.com/repos/fluendo/VAS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fluendo/VAS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fluendo/VAS/teams","hooks_url":"https://api.github.com/repos/fluendo/VAS/hooks","issue_events_url":"https://api.github.com/repos/fluendo/VAS/issues/events{/number}","events_url":"https://api.github.com/repos/fluendo/VAS/events","assignees_url":"https://api.github.com/repos/fluendo/VAS/assignees{/user}","branches_url":"https://api.github.com/repos/fluendo/VAS/branches{/branch}","tags_url":"https://api.github.com/repos/fluendo/VAS/tags","blobs_url":"https://api.github.com/repos/fluendo/VAS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fluendo/VAS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fluendo/VAS/git/refs{/sha}","trees_url":"https://api.github.com/repos/fluendo/VAS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fluendo/VAS/statuses/{sha}","languages_url":"https://api.github.com/repos/fluendo/VAS/languages","stargazers_url":"https://api.github.com/repos/fluendo/VAS/stargazers","contributors_url":"https://api.github.com/repos/fluendo/VAS/contributors","subscribers_url":"https://api.github.com/repos/fluendo/VAS/subscribers","subscription_url":"https://api.github.com/repos/fluendo/VAS/subscription","commits_url":"https://api.github.com/repos/fluendo/VAS/commits{/sha}","git_commits_url":"https://api.github.com/repos/fluendo/VAS/git/commits{/sha}","comments_url":"https://api.github.com/repos/fluendo/VAS/comments{/number}","issue_comment_url":"https://api.github.com/repos/fluendo/VAS/issues/comments{/number}","contents_url":"https://api.github.com/repos/fluendo/VAS/contents/{+path}","compare_url":"https://api.github.com/repos/fluendo/VAS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fluendo/VAS/merges","archive_url":"https://api.github.com/repos/fluendo/VAS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fluendo/VAS/downloads","issues_url":"https://api.github.com/repos/fluendo/VAS/issues{/number}","pulls_url":"https://api.github.com/repos/fluendo/VAS/pulls{/number}","milestones_url":"https://api.github.com/repos/fluendo/VAS/milestones{/number}","notifications_url":"https://api.github.com/repos/fluendo/VAS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fluendo/VAS/labels{/name}","releases_url":"https://api.github.com/repos/fluendo/VAS/releases{/id}","deployments_url":"https://api.github.com/repos/fluendo/VAS/deployments","created_at":"2016-03-21T17:19:39Z","updated_at":"2016-03-23T08:20:08Z","pushed_at":"2017-07-03T13:06:06Z","git_url":"git://github.com/fluendo/VAS.git","ssh_url":"git@github.com:fluendo/VAS.git","clone_url":"https://github.com/fluendo/VAS.git","svn_url":"https://github.com/fluendo/VAS","homepage":null,"size":4046,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fluendo/VAS/pulls/319"},"html":{"href":"https://github.com/fluendo/VAS/pull/319"},"issue":{"href":"https://api.github.com/repos/fluendo/VAS/issues/319"},"comments":{"href":"https://api.github.com/repos/fluendo/VAS/issues/319/comments"},"review_comments":{"href":"https://api.github.com/repos/fluendo/VAS/pulls/319/comments"},"review_comment":{"href":"https://api.github.com/repos/fluendo/VAS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fluendo/VAS/pulls/319/commits"},"statuses":{"href":"https://api.github.com/repos/fluendo/VAS/statuses/bc8887c1537c39c06161bf52f7211d9dabaa40a9"}}}}
{"actor":{"display_login":"dfernandezramos"}}