{"action":"created","comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/pulls/comments/29042870","id":29042870,"diff_hunk":"@@ -542,20 +542,24 @@ def setup(self):\n                                         context=Qt.ApplicationShortcut)\r\n             self.register_shortcut(self.close_dockwidget_action, \"_\",\r\n                                    \"Close pane\")\r\n-\r\n+            self.lock_dockwidgets_action = create_action(self, _(\"Lock panes\"),\r\n+                                            toggled=self.toggle_lock_dockwidgets,\r\n+                                            context=Qt.ApplicationShortcut)\r\n+            self.register_shortcut(self.lock_dockwidgets_action, \"_\",\r\n+                                       \"Lock panes\")\r","path":"spyderlib/spyder.py","position":28,"original_position":28,"commit_id":"58ae0f06b75bb23dd01b3b6448d663fbd774da83","original_commit_id":"58ae0f06b75bb23dd01b3b6448d663fbd774da83","user":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"body":"Agree.. I will rename","created_at":"2015-04-24T12:01:05Z","updated_at":"2015-04-24T12:01:05Z","html_url":"https://github.com/spyder-ide/spyder/pull/2345#discussion_r29042870","pull_request_url":"https://api.github.com/repos/spyder-ide/spyder/pulls/2345","_links":{"self":{"href":"https://api.github.com/repos/spyder-ide/spyder/pulls/comments/29042870"},"html":{"href":"https://github.com/spyder-ide/spyder/pull/2345#discussion_r29042870"},"pull_request":{"href":"https://api.github.com/repos/spyder-ide/spyder/pulls/2345"}}},"pull_request":{"url":"https://api.github.com/repos/spyder-ide/spyder/pulls/2345","id":33753106,"html_url":"https://github.com/spyder-ide/spyder/pull/2345","diff_url":"https://github.com/spyder-ide/spyder/pull/2345.diff","patch_url":"https://github.com/spyder-ide/spyder/pull/2345.patch","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2345","number":2345,"state":"open","locked":false,"title":"Add lock/unlock option for panes","user":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"body":"Fixes #2096\r\n\r\n---\r\n\r\n## Description\r\nThis PR fixes three things:\r\n- Adds ability to lock panes. The locked state is True by default (i.e. first start of spyder after reset), and is remembered every time is changed.\r\n- Rephrase Dockwidget mention in preferences to panes (the official name used for dockwidgets in Spyder lingo) \r\n- Reorganize the View menu structure.\r\n\r\n\r\n## Menu entry\r\n\r\n**Before**\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3627835/7251524/75b89938-e82c-11e4-9a8a-45cf3bde557c.png)\r\n\r\n**Now**\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3627835/7294280/ea7dcad8-e9ab-11e4-896e-6c4d1ff9b00a.png)\r\n\r\n## Preferences dialog\r\n\r\nNew wording (Replaced dockwidgets by panes)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3627835/7294338/98032892-e9ac-11e4-84ba-8e951b883108.png)\r\n\r\n\r\n\r\n## Todo:\r\n\r\n- [x] Agree on a shortcut\r\n- [x] Agree on location of menu\r\n- [x] Reorganize entries in View menu.","created_at":"2015-04-21T11:45:01Z","updated_at":"2015-04-24T12:01:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71e280e83ee8d7d46e0547eb1bac3bbe05d06005","assignee":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/5","html_url":"https://github.com/spyder-ide/spyder/milestones/v3.0","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/5/labels","id":982077,"number":5,"title":"v3.0","description":"","creator":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"open_issues":254,"closed_issues":60,"state":"open","created_at":"2015-02-16T23:17:23Z","updated_at":"2015-04-24T07:16:37Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/spyder-ide/spyder/pulls/2345/commits","review_comments_url":"https://api.github.com/repos/spyder-ide/spyder/pulls/2345/comments","review_comment_url":"https://api.github.com/repos/spyder-ide/spyder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2345/comments","statuses_url":"https://api.github.com/repos/spyder-ide/spyder/statuses/58ae0f06b75bb23dd01b3b6448d663fbd774da83","head":{"label":"goanpeca:lock-panes","ref":"lock-panes","sha":"58ae0f06b75bb23dd01b3b6448d663fbd774da83","user":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"repo":{"id":31085493,"name":"spyder","full_name":"goanpeca/spyder","owner":{"login":"goanpeca","id":3627835,"avatar_url":"https://avatars.githubusercontent.com/u/3627835?v=3","gravatar_id":"","url":"https://api.github.com/users/goanpeca","html_url":"https://github.com/goanpeca","followers_url":"https://api.github.com/users/goanpeca/followers","following_url":"https://api.github.com/users/goanpeca/following{/other_user}","gists_url":"https://api.github.com/users/goanpeca/gists{/gist_id}","starred_url":"https://api.github.com/users/goanpeca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goanpeca/subscriptions","organizations_url":"https://api.github.com/users/goanpeca/orgs","repos_url":"https://api.github.com/users/goanpeca/repos","events_url":"https://api.github.com/users/goanpeca/events{/privacy}","received_events_url":"https://api.github.com/users/goanpeca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goanpeca/spyder","description":"Official repository for Spyder - The Scientific PYthon Development EnviRonment","fork":true,"url":"https://api.github.com/repos/goanpeca/spyder","forks_url":"https://api.github.com/repos/goanpeca/spyder/forks","keys_url":"https://api.github.com/repos/goanpeca/spyder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goanpeca/spyder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goanpeca/spyder/teams","hooks_url":"https://api.github.com/repos/goanpeca/spyder/hooks","issue_events_url":"https://api.github.com/repos/goanpeca/spyder/issues/events{/number}","events_url":"https://api.github.com/repos/goanpeca/spyder/events","assignees_url":"https://api.github.com/repos/goanpeca/spyder/assignees{/user}","branches_url":"https://api.github.com/repos/goanpeca/spyder/branches{/branch}","tags_url":"https://api.github.com/repos/goanpeca/spyder/tags","blobs_url":"https://api.github.com/repos/goanpeca/spyder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goanpeca/spyder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goanpeca/spyder/git/refs{/sha}","trees_url":"https://api.github.com/repos/goanpeca/spyder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goanpeca/spyder/statuses/{sha}","languages_url":"https://api.github.com/repos/goanpeca/spyder/languages","stargazers_url":"https://api.github.com/repos/goanpeca/spyder/stargazers","contributors_url":"https://api.github.com/repos/goanpeca/spyder/contributors","subscribers_url":"https://api.github.com/repos/goanpeca/spyder/subscribers","subscription_url":"https://api.github.com/repos/goanpeca/spyder/subscription","commits_url":"https://api.github.com/repos/goanpeca/spyder/commits{/sha}","git_commits_url":"https://api.github.com/repos/goanpeca/spyder/git/commits{/sha}","comments_url":"https://api.github.com/repos/goanpeca/spyder/comments{/number}","issue_comment_url":"https://api.github.com/repos/goanpeca/spyder/issues/comments{/number}","contents_url":"https://api.github.com/repos/goanpeca/spyder/contents/{+path}","compare_url":"https://api.github.com/repos/goanpeca/spyder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goanpeca/spyder/merges","archive_url":"https://api.github.com/repos/goanpeca/spyder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goanpeca/spyder/downloads","issues_url":"https://api.github.com/repos/goanpeca/spyder/issues{/number}","pulls_url":"https://api.github.com/repos/goanpeca/spyder/pulls{/number}","milestones_url":"https://api.github.com/repos/goanpeca/spyder/milestones{/number}","notifications_url":"https://api.github.com/repos/goanpeca/spyder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goanpeca/spyder/labels{/name}","releases_url":"https://api.github.com/repos/goanpeca/spyder/releases{/id}","created_at":"2015-02-20T21:13:25Z","updated_at":"2015-04-21T21:42:02Z","pushed_at":"2015-04-23T09:59:15Z","git_url":"git://github.com/goanpeca/spyder.git","ssh_url":"git@github.com:goanpeca/spyder.git","clone_url":"https://github.com/goanpeca/spyder.git","svn_url":"https://github.com/goanpeca/spyder","homepage":"","size":21541,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"spyder-ide:master","ref":"master","sha":"471d0c9d4bb107dd8cec2a6befaec62f43ad660c","user":{"login":"spyder-ide","id":1284937,"avatar_url":"https://avatars.githubusercontent.com/u/1284937?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-ide","html_url":"https://github.com/spyder-ide","followers_url":"https://api.github.com/users/spyder-ide/followers","following_url":"https://api.github.com/users/spyder-ide/following{/other_user}","gists_url":"https://api.github.com/users/spyder-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-ide/subscriptions","organizations_url":"https://api.github.com/users/spyder-ide/orgs","repos_url":"https://api.github.com/users/spyder-ide/repos","events_url":"https://api.github.com/users/spyder-ide/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-ide/received_events","type":"Organization","site_admin":false},"repo":{"id":30892477,"name":"spyder","full_name":"spyder-ide/spyder","owner":{"login":"spyder-ide","id":1284937,"avatar_url":"https://avatars.githubusercontent.com/u/1284937?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-ide","html_url":"https://github.com/spyder-ide","followers_url":"https://api.github.com/users/spyder-ide/followers","following_url":"https://api.github.com/users/spyder-ide/following{/other_user}","gists_url":"https://api.github.com/users/spyder-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-ide/subscriptions","organizations_url":"https://api.github.com/users/spyder-ide/orgs","repos_url":"https://api.github.com/users/spyder-ide/repos","events_url":"https://api.github.com/users/spyder-ide/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-ide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spyder-ide/spyder","description":"Official repository for Spyder - The Scientific PYthon Development EnviRonment","fork":false,"url":"https://api.github.com/repos/spyder-ide/spyder","forks_url":"https://api.github.com/repos/spyder-ide/spyder/forks","keys_url":"https://api.github.com/repos/spyder-ide/spyder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spyder-ide/spyder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spyder-ide/spyder/teams","hooks_url":"https://api.github.com/repos/spyder-ide/spyder/hooks","issue_events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/events{/number}","events_url":"https://api.github.com/repos/spyder-ide/spyder/events","assignees_url":"https://api.github.com/repos/spyder-ide/spyder/assignees{/user}","branches_url":"https://api.github.com/repos/spyder-ide/spyder/branches{/branch}","tags_url":"https://api.github.com/repos/spyder-ide/spyder/tags","blobs_url":"https://api.github.com/repos/spyder-ide/spyder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spyder-ide/spyder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spyder-ide/spyder/git/refs{/sha}","trees_url":"https://api.github.com/repos/spyder-ide/spyder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spyder-ide/spyder/statuses/{sha}","languages_url":"https://api.github.com/repos/spyder-ide/spyder/languages","stargazers_url":"https://api.github.com/repos/spyder-ide/spyder/stargazers","contributors_url":"https://api.github.com/repos/spyder-ide/spyder/contributors","subscribers_url":"https://api.github.com/repos/spyder-ide/spyder/subscribers","subscription_url":"https://api.github.com/repos/spyder-ide/spyder/subscription","commits_url":"https://api.github.com/repos/spyder-ide/spyder/commits{/sha}","git_commits_url":"https://api.github.com/repos/spyder-ide/spyder/git/commits{/sha}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/comments{/number}","issue_comment_url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments{/number}","contents_url":"https://api.github.com/repos/spyder-ide/spyder/contents/{+path}","compare_url":"https://api.github.com/repos/spyder-ide/spyder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spyder-ide/spyder/merges","archive_url":"https://api.github.com/repos/spyder-ide/spyder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spyder-ide/spyder/downloads","issues_url":"https://api.github.com/repos/spyder-ide/spyder/issues{/number}","pulls_url":"https://api.github.com/repos/spyder-ide/spyder/pulls{/number}","milestones_url":"https://api.github.com/repos/spyder-ide/spyder/milestones{/number}","notifications_url":"https://api.github.com/repos/spyder-ide/spyder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spyder-ide/spyder/labels{/name}","releases_url":"https://api.github.com/repos/spyder-ide/spyder/releases{/id}","created_at":"2015-02-16T22:49:48Z","updated_at":"2015-04-24T09:55:27Z","pushed_at":"2015-04-24T07:59:26Z","git_url":"git://github.com/spyder-ide/spyder.git","ssh_url":"git@github.com:spyder-ide/spyder.git","clone_url":"https://github.com/spyder-ide/spyder.git","svn_url":"https://github.com/spyder-ide/spyder","homepage":"","size":31132,"stargazers_count":225,"watchers_count":225,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"open_issues_count":478,"forks":65,"open_issues":478,"watchers":225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spyder-ide/spyder/pulls/2345"},"html":{"href":"https://github.com/spyder-ide/spyder/pull/2345"},"issue":{"href":"https://api.github.com/repos/spyder-ide/spyder/issues/2345"},"comments":{"href":"https://api.github.com/repos/spyder-ide/spyder/issues/2345/comments"},"review_comments":{"href":"https://api.github.com/repos/spyder-ide/spyder/pulls/2345/comments"},"review_comment":{"href":"https://api.github.com/repos/spyder-ide/spyder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spyder-ide/spyder/pulls/2345/commits"},"statuses":{"href":"https://api.github.com/repos/spyder-ide/spyder/statuses/58ae0f06b75bb23dd01b3b6448d663fbd774da83"}}}}