{"action":"created","comment":{"url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/comments/27580024","id":27580024,"diff_hunk":"@@ -466,7 +484,21 @@ private void OnPrint_Click(object sender, EventArgs e)\n \t\t\tLogger.WriteEvent(\"Calling Print on PDF Viewer\");\n \t\t\tAnalytics.Track(\"Print PDF\");\n \t\t}\n+\t\tprivate void OnPrintProgress(object sender, PdfPrintProgressEventArgs e)\n+\t\t{\n+\t\t\t// BL-788 Only called in Linux version.  Protects against button\n+\t\t\t// pushes while print is in progress.\n+\t\t\tif (e.PrintInProgress)\n+\t\t\t{\n+\t\t\t\tSetDisplayMode(PublishModel.DisplayModes.Printing);\n+\t\t\t}","path":"src/BloomExe/Publish/PublishView.cs","position":43,"original_position":43,"commit_id":"6d38204624c7a1010db31e7eb411fc860a70578b","original_commit_id":"6d38204624c7a1010db31e7eb411fc860a70578b","user":{"login":"StephenMcConnel","id":2228246,"avatar_url":"https://avatars.githubusercontent.com/u/2228246?v=3","gravatar_id":"","url":"https://api.github.com/users/StephenMcConnel","html_url":"https://github.com/StephenMcConnel","followers_url":"https://api.github.com/users/StephenMcConnel/followers","following_url":"https://api.github.com/users/StephenMcConnel/following{/other_user}","gists_url":"https://api.github.com/users/StephenMcConnel/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenMcConnel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenMcConnel/subscriptions","organizations_url":"https://api.github.com/users/StephenMcConnel/orgs","repos_url":"https://api.github.com/users/StephenMcConnel/repos","events_url":"https://api.github.com/users/StephenMcConnel/events{/privacy}","received_events_url":"https://api.github.com/users/StephenMcConnel/received_events","type":"User","site_admin":false},"body":"Do you need the UpdateDisplay() in both branches of the if, or only in the else branch as it is now?","created_at":"2015-04-01T15:28:40Z","updated_at":"2015-04-01T15:28:40Z","html_url":"https://github.com/BloomBooks/BloomDesktop/pull/371#discussion_r27580024","pull_request_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/371","_links":{"self":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/comments/27580024"},"html":{"href":"https://github.com/BloomBooks/BloomDesktop/pull/371#discussion_r27580024"},"pull_request":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/371"}}},"pull_request":{"url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/371","id":32327644,"html_url":"https://github.com/BloomBooks/BloomDesktop/pull/371","diff_url":"https://github.com/BloomBooks/BloomDesktop/pull/371.diff","patch_url":"https://github.com/BloomBooks/BloomDesktop/pull/371.patch","issue_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/371","number":371,"state":"open","locked":false,"title":"BL-788 Print dialog appears behind Bloom (Linux)","user":{"login":"davidmoore1","id":6209188,"avatar_url":"https://avatars.githubusercontent.com/u/6209188?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmoore1","html_url":"https://github.com/davidmoore1","followers_url":"https://api.github.com/users/davidmoore1/followers","following_url":"https://api.github.com/users/davidmoore1/following{/other_user}","gists_url":"https://api.github.com/users/davidmoore1/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmoore1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmoore1/subscriptions","organizations_url":"https://api.github.com/users/davidmoore1/orgs","repos_url":"https://api.github.com/users/davidmoore1/repos","events_url":"https://api.github.com/users/davidmoore1/events{/privacy}","received_events_url":"https://api.github.com/users/davidmoore1/received_events","type":"User","site_admin":false},"body":"Added small pauses after minimizing and before restoring to\r\neliminate errors that were observed after the first fix.  Also\r\nadded changes to disable buttons in the publish view until\r\nthe print operation is actually complete.","created_at":"2015-03-31T14:29:47Z","updated_at":"2015-04-01T15:28:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c85c2aeeaee83b42d9f6ef9038ec313bae68e9d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/371/commits","review_comments_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/371/comments","review_comment_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/371/comments","statuses_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/statuses/6d38204624c7a1010db31e7eb411fc860a70578b","head":{"label":"davidmoore1:BL-788","ref":"BL-788","sha":"6d38204624c7a1010db31e7eb411fc860a70578b","user":{"login":"davidmoore1","id":6209188,"avatar_url":"https://avatars.githubusercontent.com/u/6209188?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmoore1","html_url":"https://github.com/davidmoore1","followers_url":"https://api.github.com/users/davidmoore1/followers","following_url":"https://api.github.com/users/davidmoore1/following{/other_user}","gists_url":"https://api.github.com/users/davidmoore1/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmoore1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmoore1/subscriptions","organizations_url":"https://api.github.com/users/davidmoore1/orgs","repos_url":"https://api.github.com/users/davidmoore1/repos","events_url":"https://api.github.com/users/davidmoore1/events{/privacy}","received_events_url":"https://api.github.com/users/davidmoore1/received_events","type":"User","site_admin":false},"repo":{"id":28868476,"name":"BloomDesktop","full_name":"davidmoore1/BloomDesktop","owner":{"login":"davidmoore1","id":6209188,"avatar_url":"https://avatars.githubusercontent.com/u/6209188?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmoore1","html_url":"https://github.com/davidmoore1","followers_url":"https://api.github.com/users/davidmoore1/followers","following_url":"https://api.github.com/users/davidmoore1/following{/other_user}","gists_url":"https://api.github.com/users/davidmoore1/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmoore1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmoore1/subscriptions","organizations_url":"https://api.github.com/users/davidmoore1/orgs","repos_url":"https://api.github.com/users/davidmoore1/repos","events_url":"https://api.github.com/users/davidmoore1/events{/privacy}","received_events_url":"https://api.github.com/users/davidmoore1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidmoore1/BloomDesktop","description":"Bloom Desktop is a hybrid c#/javascript/html/css Windows application that dramatically \"lowers the bar\" for language communities who want books in their own languages. Bloom delivers a low-training, high-output system where mother tongue speakers and their advocates work together to foster both community authorship and access to external material in the vernacular.","fork":true,"url":"https://api.github.com/repos/davidmoore1/BloomDesktop","forks_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/forks","keys_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/teams","hooks_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/hooks","issue_events_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/issues/events{/number}","events_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/events","assignees_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/assignees{/user}","branches_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/branches{/branch}","tags_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/tags","blobs_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/statuses/{sha}","languages_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/languages","stargazers_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/stargazers","contributors_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/contributors","subscribers_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/subscribers","subscription_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/subscription","commits_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/contents/{+path}","compare_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/merges","archive_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/downloads","issues_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/issues{/number}","pulls_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/pulls{/number}","milestones_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/milestones{/number}","notifications_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/labels{/name}","releases_url":"https://api.github.com/repos/davidmoore1/BloomDesktop/releases{/id}","created_at":"2015-01-06T15:06:49Z","updated_at":"2015-04-01T14:31:19Z","pushed_at":"2015-04-01T15:09:59Z","git_url":"git://github.com/davidmoore1/BloomDesktop.git","ssh_url":"git@github.com:davidmoore1/BloomDesktop.git","clone_url":"https://github.com/davidmoore1/BloomDesktop.git","svn_url":"https://github.com/davidmoore1/BloomDesktop","homepage":"http://bloomlibrary.org/","size":42825,"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":"BloomBooks:master","ref":"master","sha":"9bc7f9034c78a31b540a6d31c5009af04c019d0c","user":{"login":"BloomBooks","id":5853716,"avatar_url":"https://avatars.githubusercontent.com/u/5853716?v=3","gravatar_id":"","url":"https://api.github.com/users/BloomBooks","html_url":"https://github.com/BloomBooks","followers_url":"https://api.github.com/users/BloomBooks/followers","following_url":"https://api.github.com/users/BloomBooks/following{/other_user}","gists_url":"https://api.github.com/users/BloomBooks/gists{/gist_id}","starred_url":"https://api.github.com/users/BloomBooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BloomBooks/subscriptions","organizations_url":"https://api.github.com/users/BloomBooks/orgs","repos_url":"https://api.github.com/users/BloomBooks/repos","events_url":"https://api.github.com/users/BloomBooks/events{/privacy}","received_events_url":"https://api.github.com/users/BloomBooks/received_events","type":"Organization","site_admin":false},"repo":{"id":14133680,"name":"BloomDesktop","full_name":"BloomBooks/BloomDesktop","owner":{"login":"BloomBooks","id":5853716,"avatar_url":"https://avatars.githubusercontent.com/u/5853716?v=3","gravatar_id":"","url":"https://api.github.com/users/BloomBooks","html_url":"https://github.com/BloomBooks","followers_url":"https://api.github.com/users/BloomBooks/followers","following_url":"https://api.github.com/users/BloomBooks/following{/other_user}","gists_url":"https://api.github.com/users/BloomBooks/gists{/gist_id}","starred_url":"https://api.github.com/users/BloomBooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BloomBooks/subscriptions","organizations_url":"https://api.github.com/users/BloomBooks/orgs","repos_url":"https://api.github.com/users/BloomBooks/repos","events_url":"https://api.github.com/users/BloomBooks/events{/privacy}","received_events_url":"https://api.github.com/users/BloomBooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BloomBooks/BloomDesktop","description":"Bloom Desktop is a hybrid c#/javascript/html/css Windows application that dramatically \"lowers the bar\" for language communities who want books in their own languages. Bloom delivers a low-training, high-output system where mother tongue speakers and their advocates work together to foster both community authorship and access to external material in the vernacular.","fork":false,"url":"https://api.github.com/repos/BloomBooks/BloomDesktop","forks_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/forks","keys_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/teams","hooks_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/hooks","issue_events_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/events{/number}","events_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/events","assignees_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/assignees{/user}","branches_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/branches{/branch}","tags_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/tags","blobs_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/statuses/{sha}","languages_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/languages","stargazers_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/stargazers","contributors_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/contributors","subscribers_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/subscribers","subscription_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/subscription","commits_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/contents/{+path}","compare_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/merges","archive_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/downloads","issues_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues{/number}","pulls_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls{/number}","milestones_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/milestones{/number}","notifications_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/labels{/name}","releases_url":"https://api.github.com/repos/BloomBooks/BloomDesktop/releases{/id}","created_at":"2013-11-05T06:12:57Z","updated_at":"2015-03-31T22:01:50Z","pushed_at":"2015-04-01T15:10:00Z","git_url":"git://github.com/BloomBooks/BloomDesktop.git","ssh_url":"git@github.com:BloomBooks/BloomDesktop.git","clone_url":"https://github.com/BloomBooks/BloomDesktop.git","svn_url":"https://github.com/BloomBooks/BloomDesktop","homepage":"http://bloomlibrary.org/","size":59324,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/371"},"html":{"href":"https://github.com/BloomBooks/BloomDesktop/pull/371"},"issue":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/371"},"comments":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/issues/371/comments"},"review_comments":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/371/comments"},"review_comment":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/pulls/371/commits"},"statuses":{"href":"https://api.github.com/repos/BloomBooks/BloomDesktop/statuses/6d38204624c7a1010db31e7eb411fc860a70578b"}}}}