{"action":"created","comment":{"url":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/comments/35497554","id":35497554,"diff_hunk":"@@ -420,8 +418,63 @@ def _init_accelerators(self):\n                                        Gtk.AccelFlags.VISIBLE)\n \n # HELPER FUNCTIONS ##########################################################\n-    def temporary_search(self, widget):\n-        self.quickadd_entry.grab_focus()\n+\n+    def on_search_toggled(self, widget):\n+        search = self.builder.get_object(\"search_button\")\n+        bar = self.builder.get_object(\"searchbar\")\n+        if bar.get_search_mode():\n+            search.set_active(False)\n+            bar.set_search_mode(False)\n+        else:\n+            search.set_active(True)\n+            bar.set_search_mode(True)\n+            self.search_entry.grab_focus()\n+\n+    def on_search(self, key, widget):\n+        query = self.search_entry.get_text()\n+        Log.debug(\"Searchign for '%s'\", query)","path":"GTG/gtk/browser/browser.py","position":75,"original_position":75,"commit_id":"9fb4275f86f4f45541b1ae1663bf2d92e1439821","original_commit_id":"9fb4275f86f4f45541b1ae1663bf2d92e1439821","user":{"login":"izidormatusov","id":98588,"avatar_url":"https://avatars.githubusercontent.com/u/98588?v=3","gravatar_id":"","url":"https://api.github.com/users/izidormatusov","html_url":"https://github.com/izidormatusov","followers_url":"https://api.github.com/users/izidormatusov/followers","following_url":"https://api.github.com/users/izidormatusov/following{/other_user}","gists_url":"https://api.github.com/users/izidormatusov/gists{/gist_id}","starred_url":"https://api.github.com/users/izidormatusov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izidormatusov/subscriptions","organizations_url":"https://api.github.com/users/izidormatusov/orgs","repos_url":"https://api.github.com/users/izidormatusov/repos","events_url":"https://api.github.com/users/izidormatusov/events{/privacy}","received_events_url":"https://api.github.com/users/izidormatusov/received_events","type":"User","site_admin":false},"body":"typo: `Searching for '%s'`","created_at":"2015-07-26T20:58:06Z","updated_at":"2015-07-26T20:58:06Z","html_url":"https://github.com/getting-things-gnome/gtg/pull/137#discussion_r35497554","pull_request_url":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/comments/35497554"},"html":{"href":"https://github.com/getting-things-gnome/gtg/pull/137#discussion_r35497554"},"pull_request":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/137","id":37669587,"html_url":"https://github.com/getting-things-gnome/gtg/pull/137","diff_url":"https://github.com/getting-things-gnome/gtg/pull/137.diff","patch_url":"https://github.com/getting-things-gnome/gtg/pull/137.patch","issue_url":"https://api.github.com/repos/getting-things-gnome/gtg/issues/137","number":137,"state":"open","locked":false,"title":"Implement search to a separate search entry and modify quickadd","user":{"login":"jakubbrindza","id":2866323,"avatar_url":"https://avatars.githubusercontent.com/u/2866323?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubbrindza","html_url":"https://github.com/jakubbrindza","followers_url":"https://api.github.com/users/jakubbrindza/followers","following_url":"https://api.github.com/users/jakubbrindza/following{/other_user}","gists_url":"https://api.github.com/users/jakubbrindza/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubbrindza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubbrindza/subscriptions","organizations_url":"https://api.github.com/users/jakubbrindza/orgs","repos_url":"https://api.github.com/users/jakubbrindza/repos","events_url":"https://api.github.com/users/jakubbrindza/events{/privacy}","received_events_url":"https://api.github.com/users/jakubbrindza/received_events","type":"User","site_admin":false},"body":"This commit aims to clarify the distinction between search and quickadd. Search is now accessible from the headerbar and offers immediate, automatic searching after each key stroke. This made the search more conveninet, however the functionality is not very fluent or fast yet.\r\n\r\nSearch tags are now not saved automatically, but only after the user decides to do so using the \"Save search\" button. Such a search tag can then be, as before, re-accessed from the tag sidebar.\r\n\r\nAs for the quickadd, it has been moved to the bottom of the GTG window and features only adding and opening of tasks.\r\n\r\n![screen shot 2015-06-15 at 14 40 19](https://cloud.githubusercontent.com/assets/2866323/8160105/2c9ec99a-136d-11e5-806e-24fb33c91f7e.png)\r\n","created_at":"2015-06-15T08:47:16Z","updated_at":"2015-07-26T20:58:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98f5e4cf609cb079b4411acd8c13403550114a27","assignee":{"login":"jakubbrindza","id":2866323,"avatar_url":"https://avatars.githubusercontent.com/u/2866323?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubbrindza","html_url":"https://github.com/jakubbrindza","followers_url":"https://api.github.com/users/jakubbrindza/followers","following_url":"https://api.github.com/users/jakubbrindza/following{/other_user}","gists_url":"https://api.github.com/users/jakubbrindza/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubbrindza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubbrindza/subscriptions","organizations_url":"https://api.github.com/users/jakubbrindza/orgs","repos_url":"https://api.github.com/users/jakubbrindza/repos","events_url":"https://api.github.com/users/jakubbrindza/events{/privacy}","received_events_url":"https://api.github.com/users/jakubbrindza/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/getting-things-gnome/gtg/milestones/2","html_url":"https://github.com/getting-things-gnome/gtg/milestones/0.4","labels_url":"https://api.github.com/repos/getting-things-gnome/gtg/milestones/2/labels","id":603410,"number":2,"title":"0.4","description":"Features in this release\r\n\r\n - use Gtk3 & Python3\r\n - use the modern practices for GNOME 3 environment\r\n - improve speed performance\r\n - various other fixes","creator":{"login":"NimitS1","id":1091563,"avatar_url":"https://avatars.githubusercontent.com/u/1091563?v=3","gravatar_id":"","url":"https://api.github.com/users/NimitS1","html_url":"https://github.com/NimitS1","followers_url":"https://api.github.com/users/NimitS1/followers","following_url":"https://api.github.com/users/NimitS1/following{/other_user}","gists_url":"https://api.github.com/users/NimitS1/gists{/gist_id}","starred_url":"https://api.github.com/users/NimitS1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NimitS1/subscriptions","organizations_url":"https://api.github.com/users/NimitS1/orgs","repos_url":"https://api.github.com/users/NimitS1/repos","events_url":"https://api.github.com/users/NimitS1/events{/privacy}","received_events_url":"https://api.github.com/users/NimitS1/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":22,"state":"open","created_at":"2014-03-20T03:22:36Z","updated_at":"2015-07-19T11:38:44Z","due_on":"2015-09-26T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/137/commits","review_comments_url":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/137/comments","review_comment_url":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/getting-things-gnome/gtg/issues/137/comments","statuses_url":"https://api.github.com/repos/getting-things-gnome/gtg/statuses/9fb4275f86f4f45541b1ae1663bf2d92e1439821","head":{"label":"jakubbrindza:search","ref":"search","sha":"9fb4275f86f4f45541b1ae1663bf2d92e1439821","user":{"login":"jakubbrindza","id":2866323,"avatar_url":"https://avatars.githubusercontent.com/u/2866323?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubbrindza","html_url":"https://github.com/jakubbrindza","followers_url":"https://api.github.com/users/jakubbrindza/followers","following_url":"https://api.github.com/users/jakubbrindza/following{/other_user}","gists_url":"https://api.github.com/users/jakubbrindza/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubbrindza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubbrindza/subscriptions","organizations_url":"https://api.github.com/users/jakubbrindza/orgs","repos_url":"https://api.github.com/users/jakubbrindza/repos","events_url":"https://api.github.com/users/jakubbrindza/events{/privacy}","received_events_url":"https://api.github.com/users/jakubbrindza/received_events","type":"User","site_admin":false},"repo":{"id":31970114,"name":"gtg","full_name":"jakubbrindza/gtg","owner":{"login":"jakubbrindza","id":2866323,"avatar_url":"https://avatars.githubusercontent.com/u/2866323?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubbrindza","html_url":"https://github.com/jakubbrindza","followers_url":"https://api.github.com/users/jakubbrindza/followers","following_url":"https://api.github.com/users/jakubbrindza/following{/other_user}","gists_url":"https://api.github.com/users/jakubbrindza/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubbrindza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubbrindza/subscriptions","organizations_url":"https://api.github.com/users/jakubbrindza/orgs","repos_url":"https://api.github.com/users/jakubbrindza/repos","events_url":"https://api.github.com/users/jakubbrindza/events{/privacy}","received_events_url":"https://api.github.com/users/jakubbrindza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jakubbrindza/gtg","description":"Getting Things GNOME! trunk","fork":true,"url":"https://api.github.com/repos/jakubbrindza/gtg","forks_url":"https://api.github.com/repos/jakubbrindza/gtg/forks","keys_url":"https://api.github.com/repos/jakubbrindza/gtg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jakubbrindza/gtg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jakubbrindza/gtg/teams","hooks_url":"https://api.github.com/repos/jakubbrindza/gtg/hooks","issue_events_url":"https://api.github.com/repos/jakubbrindza/gtg/issues/events{/number}","events_url":"https://api.github.com/repos/jakubbrindza/gtg/events","assignees_url":"https://api.github.com/repos/jakubbrindza/gtg/assignees{/user}","branches_url":"https://api.github.com/repos/jakubbrindza/gtg/branches{/branch}","tags_url":"https://api.github.com/repos/jakubbrindza/gtg/tags","blobs_url":"https://api.github.com/repos/jakubbrindza/gtg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jakubbrindza/gtg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jakubbrindza/gtg/git/refs{/sha}","trees_url":"https://api.github.com/repos/jakubbrindza/gtg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jakubbrindza/gtg/statuses/{sha}","languages_url":"https://api.github.com/repos/jakubbrindza/gtg/languages","stargazers_url":"https://api.github.com/repos/jakubbrindza/gtg/stargazers","contributors_url":"https://api.github.com/repos/jakubbrindza/gtg/contributors","subscribers_url":"https://api.github.com/repos/jakubbrindza/gtg/subscribers","subscription_url":"https://api.github.com/repos/jakubbrindza/gtg/subscription","commits_url":"https://api.github.com/repos/jakubbrindza/gtg/commits{/sha}","git_commits_url":"https://api.github.com/repos/jakubbrindza/gtg/git/commits{/sha}","comments_url":"https://api.github.com/repos/jakubbrindza/gtg/comments{/number}","issue_comment_url":"https://api.github.com/repos/jakubbrindza/gtg/issues/comments{/number}","contents_url":"https://api.github.com/repos/jakubbrindza/gtg/contents/{+path}","compare_url":"https://api.github.com/repos/jakubbrindza/gtg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jakubbrindza/gtg/merges","archive_url":"https://api.github.com/repos/jakubbrindza/gtg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jakubbrindza/gtg/downloads","issues_url":"https://api.github.com/repos/jakubbrindza/gtg/issues{/number}","pulls_url":"https://api.github.com/repos/jakubbrindza/gtg/pulls{/number}","milestones_url":"https://api.github.com/repos/jakubbrindza/gtg/milestones{/number}","notifications_url":"https://api.github.com/repos/jakubbrindza/gtg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jakubbrindza/gtg/labels{/name}","releases_url":"https://api.github.com/repos/jakubbrindza/gtg/releases{/id}","created_at":"2015-03-10T17:02:31Z","updated_at":"2015-03-15T19:11:43Z","pushed_at":"2015-07-24T13:54:02Z","git_url":"git://github.com/jakubbrindza/gtg.git","ssh_url":"git@github.com:jakubbrindza/gtg.git","clone_url":"https://github.com/jakubbrindza/gtg.git","svn_url":"https://github.com/jakubbrindza/gtg","homepage":"http://gtgnome.net","size":47661,"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":"getting-things-gnome:master","ref":"master","sha":"c51603634933222f4dfe77f685b255bba0dfef44","user":{"login":"getting-things-gnome","id":6959065,"avatar_url":"https://avatars.githubusercontent.com/u/6959065?v=3","gravatar_id":"","url":"https://api.github.com/users/getting-things-gnome","html_url":"https://github.com/getting-things-gnome","followers_url":"https://api.github.com/users/getting-things-gnome/followers","following_url":"https://api.github.com/users/getting-things-gnome/following{/other_user}","gists_url":"https://api.github.com/users/getting-things-gnome/gists{/gist_id}","starred_url":"https://api.github.com/users/getting-things-gnome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getting-things-gnome/subscriptions","organizations_url":"https://api.github.com/users/getting-things-gnome/orgs","repos_url":"https://api.github.com/users/getting-things-gnome/repos","events_url":"https://api.github.com/users/getting-things-gnome/events{/privacy}","received_events_url":"https://api.github.com/users/getting-things-gnome/received_events","type":"Organization","site_admin":false},"repo":{"id":17773756,"name":"gtg","full_name":"getting-things-gnome/gtg","owner":{"login":"getting-things-gnome","id":6959065,"avatar_url":"https://avatars.githubusercontent.com/u/6959065?v=3","gravatar_id":"","url":"https://api.github.com/users/getting-things-gnome","html_url":"https://github.com/getting-things-gnome","followers_url":"https://api.github.com/users/getting-things-gnome/followers","following_url":"https://api.github.com/users/getting-things-gnome/following{/other_user}","gists_url":"https://api.github.com/users/getting-things-gnome/gists{/gist_id}","starred_url":"https://api.github.com/users/getting-things-gnome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getting-things-gnome/subscriptions","organizations_url":"https://api.github.com/users/getting-things-gnome/orgs","repos_url":"https://api.github.com/users/getting-things-gnome/repos","events_url":"https://api.github.com/users/getting-things-gnome/events{/privacy}","received_events_url":"https://api.github.com/users/getting-things-gnome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/getting-things-gnome/gtg","description":"Getting Things GNOME! trunk","fork":false,"url":"https://api.github.com/repos/getting-things-gnome/gtg","forks_url":"https://api.github.com/repos/getting-things-gnome/gtg/forks","keys_url":"https://api.github.com/repos/getting-things-gnome/gtg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getting-things-gnome/gtg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getting-things-gnome/gtg/teams","hooks_url":"https://api.github.com/repos/getting-things-gnome/gtg/hooks","issue_events_url":"https://api.github.com/repos/getting-things-gnome/gtg/issues/events{/number}","events_url":"https://api.github.com/repos/getting-things-gnome/gtg/events","assignees_url":"https://api.github.com/repos/getting-things-gnome/gtg/assignees{/user}","branches_url":"https://api.github.com/repos/getting-things-gnome/gtg/branches{/branch}","tags_url":"https://api.github.com/repos/getting-things-gnome/gtg/tags","blobs_url":"https://api.github.com/repos/getting-things-gnome/gtg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getting-things-gnome/gtg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getting-things-gnome/gtg/git/refs{/sha}","trees_url":"https://api.github.com/repos/getting-things-gnome/gtg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getting-things-gnome/gtg/statuses/{sha}","languages_url":"https://api.github.com/repos/getting-things-gnome/gtg/languages","stargazers_url":"https://api.github.com/repos/getting-things-gnome/gtg/stargazers","contributors_url":"https://api.github.com/repos/getting-things-gnome/gtg/contributors","subscribers_url":"https://api.github.com/repos/getting-things-gnome/gtg/subscribers","subscription_url":"https://api.github.com/repos/getting-things-gnome/gtg/subscription","commits_url":"https://api.github.com/repos/getting-things-gnome/gtg/commits{/sha}","git_commits_url":"https://api.github.com/repos/getting-things-gnome/gtg/git/commits{/sha}","comments_url":"https://api.github.com/repos/getting-things-gnome/gtg/comments{/number}","issue_comment_url":"https://api.github.com/repos/getting-things-gnome/gtg/issues/comments{/number}","contents_url":"https://api.github.com/repos/getting-things-gnome/gtg/contents/{+path}","compare_url":"https://api.github.com/repos/getting-things-gnome/gtg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getting-things-gnome/gtg/merges","archive_url":"https://api.github.com/repos/getting-things-gnome/gtg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getting-things-gnome/gtg/downloads","issues_url":"https://api.github.com/repos/getting-things-gnome/gtg/issues{/number}","pulls_url":"https://api.github.com/repos/getting-things-gnome/gtg/pulls{/number}","milestones_url":"https://api.github.com/repos/getting-things-gnome/gtg/milestones{/number}","notifications_url":"https://api.github.com/repos/getting-things-gnome/gtg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getting-things-gnome/gtg/labels{/name}","releases_url":"https://api.github.com/repos/getting-things-gnome/gtg/releases{/id}","created_at":"2014-03-15T11:16:19Z","updated_at":"2015-07-02T17:18:20Z","pushed_at":"2015-07-26T20:32:14Z","git_url":"git://github.com/getting-things-gnome/gtg.git","ssh_url":"git@github.com:getting-things-gnome/gtg.git","clone_url":"https://github.com/getting-things-gnome/gtg.git","svn_url":"https://github.com/getting-things-gnome/gtg","homepage":"http://gtgnome.net","size":50001,"stargazers_count":42,"watchers_count":42,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":69,"forks":47,"open_issues":69,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/137"},"html":{"href":"https://github.com/getting-things-gnome/gtg/pull/137"},"issue":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/issues/137"},"comments":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/getting-things-gnome/gtg/statuses/9fb4275f86f4f45541b1ae1663bf2d92e1439821"}}}}