{"action":"created","comment":{"url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/comments/55551615","id":55551615,"diff_hunk":"@@ -107,11 +70,20 @@ impl Procs {\n         append_column(\"process name\", &mut columns, &left_tree);\n         append_column(\"cpu usage\", &mut columns, &left_tree);\n         append_column(\"memory usage (in kB)\", &mut columns, &left_tree);\n-\n-        let mut list_store = gtk::ListStore::new(&[glib::Type::I64, glib::Type::String,\n-                                                   glib::Type::String, glib::Type::U32]);\n+        // sort the name column by name_lowercase\n+        columns[1].set_sort_column_id(4);","path":"src/process_viewer.rs","position":98,"original_position":98,"commit_id":"1f25d9cf949ee150d1f1e726957eaa371d19763c","original_commit_id":"1f25d9cf949ee150d1f1e726957eaa371d19763c","user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"body":"How does it work then?","created_at":"2016-03-09T17:03:56Z","updated_at":"2016-03-09T17:03:56Z","html_url":"https://github.com/GuillaumeGomez/process-viewer/pull/17#discussion_r55551615","pull_request_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/comments/55551615"},"html":{"href":"https://github.com/GuillaumeGomez/process-viewer/pull/17#discussion_r55551615"},"pull_request":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/17","id":62257196,"html_url":"https://github.com/GuillaumeGomez/process-viewer/pull/17","diff_url":"https://github.com/GuillaumeGomez/process-viewer/pull/17.diff","patch_url":"https://github.com/GuillaumeGomez/process-viewer/pull/17.patch","issue_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/issues/17","number":17,"state":"open","locked":false,"title":"Some little cleanups","user":{"login":"gkoz","id":4260361,"avatar_url":"https://avatars.githubusercontent.com/u/4260361?v=3","gravatar_id":"","url":"https://api.github.com/users/gkoz","html_url":"https://github.com/gkoz","followers_url":"https://api.github.com/users/gkoz/followers","following_url":"https://api.github.com/users/gkoz/following{/other_user}","gists_url":"https://api.github.com/users/gkoz/gists{/gist_id}","starred_url":"https://api.github.com/users/gkoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkoz/subscriptions","organizations_url":"https://api.github.com/users/gkoz/orgs","repos_url":"https://api.github.com/users/gkoz/repos","events_url":"https://api.github.com/users/gkoz/events{/privacy}","received_events_url":"https://api.github.com/users/gkoz/received_events","type":"User","site_admin":false},"body":"I like deleting code and didn't feel like doing serious stuff.. Hope you find this useful.\r\n\r\nI think there was a sorting bug hiding somewhere in those comparators. It's good they aren't really necessary. Copying each string twice for each comparison wasn't a nice pattern.","created_at":"2016-03-09T16:38:48Z","updated_at":"2016-03-09T17:03:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bfbf8dfabefad4186bd77915203f5ef728720aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/17/commits","review_comments_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/17/comments","review_comment_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/issues/17/comments","statuses_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/statuses/1f25d9cf949ee150d1f1e726957eaa371d19763c","head":{"label":"gkoz:tweaks","ref":"tweaks","sha":"1f25d9cf949ee150d1f1e726957eaa371d19763c","user":{"login":"gkoz","id":4260361,"avatar_url":"https://avatars.githubusercontent.com/u/4260361?v=3","gravatar_id":"","url":"https://api.github.com/users/gkoz","html_url":"https://github.com/gkoz","followers_url":"https://api.github.com/users/gkoz/followers","following_url":"https://api.github.com/users/gkoz/following{/other_user}","gists_url":"https://api.github.com/users/gkoz/gists{/gist_id}","starred_url":"https://api.github.com/users/gkoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkoz/subscriptions","organizations_url":"https://api.github.com/users/gkoz/orgs","repos_url":"https://api.github.com/users/gkoz/repos","events_url":"https://api.github.com/users/gkoz/events{/privacy}","received_events_url":"https://api.github.com/users/gkoz/received_events","type":"User","site_admin":false},"repo":{"id":53513131,"name":"process-viewer","full_name":"gkoz/process-viewer","owner":{"login":"gkoz","id":4260361,"avatar_url":"https://avatars.githubusercontent.com/u/4260361?v=3","gravatar_id":"","url":"https://api.github.com/users/gkoz","html_url":"https://github.com/gkoz","followers_url":"https://api.github.com/users/gkoz/followers","following_url":"https://api.github.com/users/gkoz/following{/other_user}","gists_url":"https://api.github.com/users/gkoz/gists{/gist_id}","starred_url":"https://api.github.com/users/gkoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkoz/subscriptions","organizations_url":"https://api.github.com/users/gkoz/orgs","repos_url":"https://api.github.com/users/gkoz/repos","events_url":"https://api.github.com/users/gkoz/events{/privacy}","received_events_url":"https://api.github.com/users/gkoz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gkoz/process-viewer","description":"A process viewer GUI in rust","fork":true,"url":"https://api.github.com/repos/gkoz/process-viewer","forks_url":"https://api.github.com/repos/gkoz/process-viewer/forks","keys_url":"https://api.github.com/repos/gkoz/process-viewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gkoz/process-viewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gkoz/process-viewer/teams","hooks_url":"https://api.github.com/repos/gkoz/process-viewer/hooks","issue_events_url":"https://api.github.com/repos/gkoz/process-viewer/issues/events{/number}","events_url":"https://api.github.com/repos/gkoz/process-viewer/events","assignees_url":"https://api.github.com/repos/gkoz/process-viewer/assignees{/user}","branches_url":"https://api.github.com/repos/gkoz/process-viewer/branches{/branch}","tags_url":"https://api.github.com/repos/gkoz/process-viewer/tags","blobs_url":"https://api.github.com/repos/gkoz/process-viewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gkoz/process-viewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gkoz/process-viewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/gkoz/process-viewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gkoz/process-viewer/statuses/{sha}","languages_url":"https://api.github.com/repos/gkoz/process-viewer/languages","stargazers_url":"https://api.github.com/repos/gkoz/process-viewer/stargazers","contributors_url":"https://api.github.com/repos/gkoz/process-viewer/contributors","subscribers_url":"https://api.github.com/repos/gkoz/process-viewer/subscribers","subscription_url":"https://api.github.com/repos/gkoz/process-viewer/subscription","commits_url":"https://api.github.com/repos/gkoz/process-viewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/gkoz/process-viewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/gkoz/process-viewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/gkoz/process-viewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/gkoz/process-viewer/contents/{+path}","compare_url":"https://api.github.com/repos/gkoz/process-viewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gkoz/process-viewer/merges","archive_url":"https://api.github.com/repos/gkoz/process-viewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gkoz/process-viewer/downloads","issues_url":"https://api.github.com/repos/gkoz/process-viewer/issues{/number}","pulls_url":"https://api.github.com/repos/gkoz/process-viewer/pulls{/number}","milestones_url":"https://api.github.com/repos/gkoz/process-viewer/milestones{/number}","notifications_url":"https://api.github.com/repos/gkoz/process-viewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gkoz/process-viewer/labels{/name}","releases_url":"https://api.github.com/repos/gkoz/process-viewer/releases{/id}","deployments_url":"https://api.github.com/repos/gkoz/process-viewer/deployments","created_at":"2016-03-09T16:28:17Z","updated_at":"2016-03-09T16:28:17Z","pushed_at":"2016-03-09T16:52:59Z","git_url":"git://github.com/gkoz/process-viewer.git","ssh_url":"git@github.com:gkoz/process-viewer.git","clone_url":"https://github.com/gkoz/process-viewer.git","svn_url":"https://github.com/gkoz/process-viewer","homepage":"","size":44,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"GuillaumeGomez:master","ref":"master","sha":"7f03aeb6cae37ff4717f8b893db630cd655bfca2","user":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"repo":{"id":33215004,"name":"process-viewer","full_name":"GuillaumeGomez/process-viewer","owner":{"login":"GuillaumeGomez","id":3050060,"avatar_url":"https://avatars.githubusercontent.com/u/3050060?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeGomez","html_url":"https://github.com/GuillaumeGomez","followers_url":"https://api.github.com/users/GuillaumeGomez/followers","following_url":"https://api.github.com/users/GuillaumeGomez/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeGomez/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeGomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeGomez/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeGomez/orgs","repos_url":"https://api.github.com/users/GuillaumeGomez/repos","events_url":"https://api.github.com/users/GuillaumeGomez/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeGomez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GuillaumeGomez/process-viewer","description":"A process viewer GUI in rust","fork":false,"url":"https://api.github.com/repos/GuillaumeGomez/process-viewer","forks_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/forks","keys_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/teams","hooks_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/hooks","issue_events_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/issues/events{/number}","events_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/events","assignees_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/assignees{/user}","branches_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/branches{/branch}","tags_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/tags","blobs_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/git/refs{/sha}","trees_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/statuses/{sha}","languages_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/languages","stargazers_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/stargazers","contributors_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/contributors","subscribers_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/subscribers","subscription_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/subscription","commits_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/commits{/sha}","git_commits_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/git/commits{/sha}","comments_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/comments{/number}","issue_comment_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/issues/comments{/number}","contents_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/contents/{+path}","compare_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/merges","archive_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/downloads","issues_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/issues{/number}","pulls_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls{/number}","milestones_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/milestones{/number}","notifications_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/labels{/name}","releases_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/releases{/id}","deployments_url":"https://api.github.com/repos/GuillaumeGomez/process-viewer/deployments","created_at":"2015-03-31T23:06:57Z","updated_at":"2016-01-16T22:32:00Z","pushed_at":"2016-03-09T16:52:59Z","git_url":"git://github.com/GuillaumeGomez/process-viewer.git","ssh_url":"git@github.com:GuillaumeGomez/process-viewer.git","clone_url":"https://github.com/GuillaumeGomez/process-viewer.git","svn_url":"https://github.com/GuillaumeGomez/process-viewer","homepage":"","size":41,"stargazers_count":14,"watchers_count":14,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/17"},"html":{"href":"https://github.com/GuillaumeGomez/process-viewer/pull/17"},"issue":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/issues/17"},"comments":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/GuillaumeGomez/process-viewer/statuses/1f25d9cf949ee150d1f1e726957eaa371d19763c"}}}}