{"action":"closed","number":520,"pull_request":{"url":"https://api.github.com/repos/sugarlabs/sugar/pulls/520","id":36421640,"html_url":"https://github.com/sugarlabs/sugar/pull/520","diff_url":"https://github.com/sugarlabs/sugar/pull/520.diff","patch_url":"https://github.com/sugarlabs/sugar/pull/520.patch","issue_url":"https://api.github.com/repos/sugarlabs/sugar/issues/520","number":520,"state":"closed","locked":false,"title":"Update metadata in the treeview without reload all - Fixes #4852","user":{"login":"godiard","id":4050778,"avatar_url":"https://avatars.githubusercontent.com/u/4050778?v=3","gravatar_id":"","url":"https://api.github.com/users/godiard","html_url":"https://github.com/godiard","followers_url":"https://api.github.com/users/godiard/followers","following_url":"https://api.github.com/users/godiard/following{/other_user}","gists_url":"https://api.github.com/users/godiard/gists{/gist_id}","starred_url":"https://api.github.com/users/godiard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godiard/subscriptions","organizations_url":"https://api.github.com/users/godiard/orgs","repos_url":"https://api.github.com/users/godiard/repos","events_url":"https://api.github.com/users/godiard/events{/privacy}","received_events_url":"https://api.github.com/users/godiard/received_events","type":"User","site_admin":false},"body":"Implement a set_value method in the model, and move the logic\r\nto write to the datastore to the ListModel. To be able to\r\nupdate the model without trigger a update in the treeview,\r\nwe pass the updated callback in the ListModel.setup() method,\r\nand the callback is disconnected and connected in every update.\r\n\r\nThe treeview have the responsabilty of redraw the cell after\r\nthe change was done.\r\n\r\nThe listmodel stores a dictionary with the entries uodated,\r\nto provide that data until the next update in the Journal.\r\n\r\nThis patch is heavily based in the work of\r\nSam Parkinson <sam.parkinson3@gmail.com>","created_at":"2015-05-28T15:52:19Z","updated_at":"2015-08-01T11:31:58Z","closed_at":"2015-08-01T11:31:58Z","merged_at":null,"merge_commit_sha":"f2f98392ca835bbcef4f35c3081da26c77c02b16","assignee":null,"milestone":{"url":"https://api.github.com/repos/sugarlabs/sugar/milestones/5","html_url":"https://github.com/sugarlabs/sugar/milestones/0.108%20Features","labels_url":"https://api.github.com/repos/sugarlabs/sugar/milestones/5/labels","id":1146853,"number":5,"title":"0.108 Features","description":"Features for next release","creator":{"login":"samdroid-apps","id":6022042,"avatar_url":"https://avatars.githubusercontent.com/u/6022042?v=3","gravatar_id":"","url":"https://api.github.com/users/samdroid-apps","html_url":"https://github.com/samdroid-apps","followers_url":"https://api.github.com/users/samdroid-apps/followers","following_url":"https://api.github.com/users/samdroid-apps/following{/other_user}","gists_url":"https://api.github.com/users/samdroid-apps/gists{/gist_id}","starred_url":"https://api.github.com/users/samdroid-apps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdroid-apps/subscriptions","organizations_url":"https://api.github.com/users/samdroid-apps/orgs","repos_url":"https://api.github.com/users/samdroid-apps/repos","events_url":"https://api.github.com/users/samdroid-apps/events{/privacy}","received_events_url":"https://api.github.com/users/samdroid-apps/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2015-06-03T09:54:03Z","updated_at":"2015-08-01T11:31:58Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/sugarlabs/sugar/pulls/520/commits","review_comments_url":"https://api.github.com/repos/sugarlabs/sugar/pulls/520/comments","review_comment_url":"https://api.github.com/repos/sugarlabs/sugar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sugarlabs/sugar/issues/520/comments","statuses_url":"https://api.github.com/repos/sugarlabs/sugar/statuses/64ceb3e30f97a14f5c698af43a59c15c8f70e050","head":{"label":"godiard:fix_4852_try3","ref":"fix_4852_try3","sha":"64ceb3e30f97a14f5c698af43a59c15c8f70e050","user":{"login":"godiard","id":4050778,"avatar_url":"https://avatars.githubusercontent.com/u/4050778?v=3","gravatar_id":"","url":"https://api.github.com/users/godiard","html_url":"https://github.com/godiard","followers_url":"https://api.github.com/users/godiard/followers","following_url":"https://api.github.com/users/godiard/following{/other_user}","gists_url":"https://api.github.com/users/godiard/gists{/gist_id}","starred_url":"https://api.github.com/users/godiard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godiard/subscriptions","organizations_url":"https://api.github.com/users/godiard/orgs","repos_url":"https://api.github.com/users/godiard/repos","events_url":"https://api.github.com/users/godiard/events{/privacy}","received_events_url":"https://api.github.com/users/godiard/received_events","type":"User","site_admin":false},"repo":{"id":17260229,"name":"sugar","full_name":"godiard/sugar","owner":{"login":"godiard","id":4050778,"avatar_url":"https://avatars.githubusercontent.com/u/4050778?v=3","gravatar_id":"","url":"https://api.github.com/users/godiard","html_url":"https://github.com/godiard","followers_url":"https://api.github.com/users/godiard/followers","following_url":"https://api.github.com/users/godiard/following{/other_user}","gists_url":"https://api.github.com/users/godiard/gists{/gist_id}","starred_url":"https://api.github.com/users/godiard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godiard/subscriptions","organizations_url":"https://api.github.com/users/godiard/orgs","repos_url":"https://api.github.com/users/godiard/repos","events_url":"https://api.github.com/users/godiard/events{/privacy}","received_events_url":"https://api.github.com/users/godiard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/godiard/sugar","description":"Sugar GTK shell","fork":true,"url":"https://api.github.com/repos/godiard/sugar","forks_url":"https://api.github.com/repos/godiard/sugar/forks","keys_url":"https://api.github.com/repos/godiard/sugar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godiard/sugar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godiard/sugar/teams","hooks_url":"https://api.github.com/repos/godiard/sugar/hooks","issue_events_url":"https://api.github.com/repos/godiard/sugar/issues/events{/number}","events_url":"https://api.github.com/repos/godiard/sugar/events","assignees_url":"https://api.github.com/repos/godiard/sugar/assignees{/user}","branches_url":"https://api.github.com/repos/godiard/sugar/branches{/branch}","tags_url":"https://api.github.com/repos/godiard/sugar/tags","blobs_url":"https://api.github.com/repos/godiard/sugar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godiard/sugar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godiard/sugar/git/refs{/sha}","trees_url":"https://api.github.com/repos/godiard/sugar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godiard/sugar/statuses/{sha}","languages_url":"https://api.github.com/repos/godiard/sugar/languages","stargazers_url":"https://api.github.com/repos/godiard/sugar/stargazers","contributors_url":"https://api.github.com/repos/godiard/sugar/contributors","subscribers_url":"https://api.github.com/repos/godiard/sugar/subscribers","subscription_url":"https://api.github.com/repos/godiard/sugar/subscription","commits_url":"https://api.github.com/repos/godiard/sugar/commits{/sha}","git_commits_url":"https://api.github.com/repos/godiard/sugar/git/commits{/sha}","comments_url":"https://api.github.com/repos/godiard/sugar/comments{/number}","issue_comment_url":"https://api.github.com/repos/godiard/sugar/issues/comments{/number}","contents_url":"https://api.github.com/repos/godiard/sugar/contents/{+path}","compare_url":"https://api.github.com/repos/godiard/sugar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godiard/sugar/merges","archive_url":"https://api.github.com/repos/godiard/sugar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godiard/sugar/downloads","issues_url":"https://api.github.com/repos/godiard/sugar/issues{/number}","pulls_url":"https://api.github.com/repos/godiard/sugar/pulls{/number}","milestones_url":"https://api.github.com/repos/godiard/sugar/milestones{/number}","notifications_url":"https://api.github.com/repos/godiard/sugar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godiard/sugar/labels{/name}","releases_url":"https://api.github.com/repos/godiard/sugar/releases{/id}","created_at":"2014-02-27T18:52:18Z","updated_at":"2015-04-21T11:43:41Z","pushed_at":"2015-07-30T17:52:28Z","git_url":"git://github.com/godiard/sugar.git","ssh_url":"git@github.com:godiard/sugar.git","clone_url":"https://github.com/godiard/sugar.git","svn_url":"https://github.com/godiard/sugar","homepage":"","size":25273,"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":"master"}},"base":{"label":"sugarlabs:master","ref":"master","sha":"0a7fd612d135bbb2e01cd7560e43b3d1b5a61844","user":{"login":"sugarlabs","id":3996398,"avatar_url":"https://avatars.githubusercontent.com/u/3996398?v=3","gravatar_id":"","url":"https://api.github.com/users/sugarlabs","html_url":"https://github.com/sugarlabs","followers_url":"https://api.github.com/users/sugarlabs/followers","following_url":"https://api.github.com/users/sugarlabs/following{/other_user}","gists_url":"https://api.github.com/users/sugarlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/sugarlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sugarlabs/subscriptions","organizations_url":"https://api.github.com/users/sugarlabs/orgs","repos_url":"https://api.github.com/users/sugarlabs/repos","events_url":"https://api.github.com/users/sugarlabs/events{/privacy}","received_events_url":"https://api.github.com/users/sugarlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":10601176,"name":"sugar","full_name":"sugarlabs/sugar","owner":{"login":"sugarlabs","id":3996398,"avatar_url":"https://avatars.githubusercontent.com/u/3996398?v=3","gravatar_id":"","url":"https://api.github.com/users/sugarlabs","html_url":"https://github.com/sugarlabs","followers_url":"https://api.github.com/users/sugarlabs/followers","following_url":"https://api.github.com/users/sugarlabs/following{/other_user}","gists_url":"https://api.github.com/users/sugarlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/sugarlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sugarlabs/subscriptions","organizations_url":"https://api.github.com/users/sugarlabs/orgs","repos_url":"https://api.github.com/users/sugarlabs/repos","events_url":"https://api.github.com/users/sugarlabs/events{/privacy}","received_events_url":"https://api.github.com/users/sugarlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sugarlabs/sugar","description":"Sugar GTK shell","fork":false,"url":"https://api.github.com/repos/sugarlabs/sugar","forks_url":"https://api.github.com/repos/sugarlabs/sugar/forks","keys_url":"https://api.github.com/repos/sugarlabs/sugar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sugarlabs/sugar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sugarlabs/sugar/teams","hooks_url":"https://api.github.com/repos/sugarlabs/sugar/hooks","issue_events_url":"https://api.github.com/repos/sugarlabs/sugar/issues/events{/number}","events_url":"https://api.github.com/repos/sugarlabs/sugar/events","assignees_url":"https://api.github.com/repos/sugarlabs/sugar/assignees{/user}","branches_url":"https://api.github.com/repos/sugarlabs/sugar/branches{/branch}","tags_url":"https://api.github.com/repos/sugarlabs/sugar/tags","blobs_url":"https://api.github.com/repos/sugarlabs/sugar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sugarlabs/sugar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sugarlabs/sugar/git/refs{/sha}","trees_url":"https://api.github.com/repos/sugarlabs/sugar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sugarlabs/sugar/statuses/{sha}","languages_url":"https://api.github.com/repos/sugarlabs/sugar/languages","stargazers_url":"https://api.github.com/repos/sugarlabs/sugar/stargazers","contributors_url":"https://api.github.com/repos/sugarlabs/sugar/contributors","subscribers_url":"https://api.github.com/repos/sugarlabs/sugar/subscribers","subscription_url":"https://api.github.com/repos/sugarlabs/sugar/subscription","commits_url":"https://api.github.com/repos/sugarlabs/sugar/commits{/sha}","git_commits_url":"https://api.github.com/repos/sugarlabs/sugar/git/commits{/sha}","comments_url":"https://api.github.com/repos/sugarlabs/sugar/comments{/number}","issue_comment_url":"https://api.github.com/repos/sugarlabs/sugar/issues/comments{/number}","contents_url":"https://api.github.com/repos/sugarlabs/sugar/contents/{+path}","compare_url":"https://api.github.com/repos/sugarlabs/sugar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sugarlabs/sugar/merges","archive_url":"https://api.github.com/repos/sugarlabs/sugar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sugarlabs/sugar/downloads","issues_url":"https://api.github.com/repos/sugarlabs/sugar/issues{/number}","pulls_url":"https://api.github.com/repos/sugarlabs/sugar/pulls{/number}","milestones_url":"https://api.github.com/repos/sugarlabs/sugar/milestones{/number}","notifications_url":"https://api.github.com/repos/sugarlabs/sugar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sugarlabs/sugar/labels{/name}","releases_url":"https://api.github.com/repos/sugarlabs/sugar/releases{/id}","created_at":"2013-06-10T13:49:20Z","updated_at":"2015-05-28T04:00:17Z","pushed_at":"2015-08-01T11:31:12Z","git_url":"git://github.com/sugarlabs/sugar.git","ssh_url":"git@github.com:sugarlabs/sugar.git","clone_url":"https://github.com/sugarlabs/sugar.git","svn_url":"https://github.com/sugarlabs/sugar","homepage":"","size":28762,"stargazers_count":25,"watchers_count":25,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":6,"forks":76,"open_issues":6,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sugarlabs/sugar/pulls/520"},"html":{"href":"https://github.com/sugarlabs/sugar/pull/520"},"issue":{"href":"https://api.github.com/repos/sugarlabs/sugar/issues/520"},"comments":{"href":"https://api.github.com/repos/sugarlabs/sugar/issues/520/comments"},"review_comments":{"href":"https://api.github.com/repos/sugarlabs/sugar/pulls/520/comments"},"review_comment":{"href":"https://api.github.com/repos/sugarlabs/sugar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sugarlabs/sugar/pulls/520/commits"},"statuses":{"href":"https://api.github.com/repos/sugarlabs/sugar/statuses/64ceb3e30f97a14f5c698af43a59c15c8f70e050"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":9,"review_comments":0,"commits":1,"additions":43,"deletions":14,"changed_files":2}}