{"action":"created","issue":{"url":"https://api.github.com/repos/qgis/QGIS/issues/2498","labels_url":"https://api.github.com/repos/qgis/QGIS/issues/2498/labels{/name}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/2498/comments","events_url":"https://api.github.com/repos/qgis/QGIS/issues/2498/events","html_url":"https://github.com/qgis/QGIS/pull/2498","id":118582566,"number":2498,"title":"Refactored the python init function selector","user":{"login":"elpaso","id":142164,"avatar_url":"https://avatars.githubusercontent.com/u/142164?v=3","gravatar_id":"","url":"https://api.github.com/users/elpaso","html_url":"https://github.com/elpaso","followers_url":"https://api.github.com/users/elpaso/followers","following_url":"https://api.github.com/users/elpaso/following{/other_user}","gists_url":"https://api.github.com/users/elpaso/gists{/gist_id}","starred_url":"https://api.github.com/users/elpaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elpaso/subscriptions","organizations_url":"https://api.github.com/users/elpaso/orgs","repos_url":"https://api.github.com/users/elpaso/repos","events_url":"https://api.github.com/users/elpaso/events{/privacy}","received_events_url":"https://api.github.com/users/elpaso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T11:00:47Z","updated_at":"2015-11-24T11:05:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/2498","html_url":"https://github.com/qgis/QGIS/pull/2498","diff_url":"https://github.com/qgis/QGIS/pull/2498.diff","patch_url":"https://github.com/qgis/QGIS/pull/2498.patch"},"body":"Do not rely on the presence of a dot to load\r\na module. Loading a module can now be achieved\r\nthrough the code editor in the dialog.\r\n\r\n* added an option to load from environment\r\n* added a file selector to specify the file\r\n* changed tooltips accordingly\r\n\r\nThis is the new GUI:\r\n\r\n![qgis_store_python_code_latest](https://cloud.githubusercontent.com/assets/142164/11364767/b3e10742-92a2-11e5-9d94-14207756dc29.png)\r\n\r\n\r\nWhen loading from external file:\r\n\r\n![qgis_store_python_code_latest_ext_file](https://cloud.githubusercontent.com/assets/142164/11364799/ed4a0d9e-92a2-11e5-9c68-859c29da5ee9.png)\r\n"},"comment":{"url":"https://api.github.com/repos/qgis/QGIS/issues/comments/159231242","html_url":"https://github.com/qgis/QGIS/pull/2498#issuecomment-159231242","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/2498","id":159231242,"user":{"login":"m-kuhn","id":588407,"avatar_url":"https://avatars.githubusercontent.com/u/588407?v=3","gravatar_id":"","url":"https://api.github.com/users/m-kuhn","html_url":"https://github.com/m-kuhn","followers_url":"https://api.github.com/users/m-kuhn/followers","following_url":"https://api.github.com/users/m-kuhn/following{/other_user}","gists_url":"https://api.github.com/users/m-kuhn/gists{/gist_id}","starred_url":"https://api.github.com/users/m-kuhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-kuhn/subscriptions","organizations_url":"https://api.github.com/users/m-kuhn/orgs","repos_url":"https://api.github.com/users/m-kuhn/repos","events_url":"https://api.github.com/users/m-kuhn/events{/privacy}","received_events_url":"https://api.github.com/users/m-kuhn/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T11:05:50Z","updated_at":"2015-11-24T11:05:50Z","body":"Nice.\r\nDoes it provide support for existing projects with init functions from external files?\r\nIs the init file path saved relative?\r\n"}}