{"action":"created","issue":{"url":"https://api.github.com/repos/mate-desktop/pluma/issues/262","repository_url":"https://api.github.com/repos/mate-desktop/pluma","labels_url":"https://api.github.com/repos/mate-desktop/pluma/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/mate-desktop/pluma/issues/262/comments","events_url":"https://api.github.com/repos/mate-desktop/pluma/issues/262/events","html_url":"https://github.com/mate-desktop/pluma/pull/262","id":274262898,"number":262,"title":"make sure pluma open in the same window of the workspace","user":{"login":"sc0w","id":7734191,"avatar_url":"https://avatars2.githubusercontent.com/u/7734191?v=4","gravatar_id":"","url":"https://api.github.com/users/sc0w","html_url":"https://github.com/sc0w","followers_url":"https://api.github.com/users/sc0w/followers","following_url":"https://api.github.com/users/sc0w/following{/other_user}","gists_url":"https://api.github.com/users/sc0w/gists{/gist_id}","starred_url":"https://api.github.com/users/sc0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sc0w/subscriptions","organizations_url":"https://api.github.com/users/sc0w/orgs","repos_url":"https://api.github.com/users/sc0w/repos","events_url":"https://api.github.com/users/sc0w/events{/privacy}","received_events_url":"https://api.github.com/users/sc0w/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-11-15T18:44:11Z","updated_at":"2017-11-26T19:48:37Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/mate-desktop/pluma/pulls/262","html_url":"https://github.com/mate-desktop/pluma/pull/262","diff_url":"https://github.com/mate-desktop/pluma/pull/262.diff","patch_url":"https://github.com/mate-desktop/pluma/pull/262.patch"},"body":"there is only one screen, this code can be removed\r\n\r\nFixes https://github.com/mate-desktop/pluma/issues/261"},"comment":{"url":"https://api.github.com/repos/mate-desktop/pluma/issues/comments/347033311","html_url":"https://github.com/mate-desktop/pluma/pull/262#issuecomment-347033311","issue_url":"https://api.github.com/repos/mate-desktop/pluma/issues/262","id":347033311,"user":{"login":"sc0w","id":7734191,"avatar_url":"https://avatars2.githubusercontent.com/u/7734191?v=4","gravatar_id":"","url":"https://api.github.com/users/sc0w","html_url":"https://github.com/sc0w","followers_url":"https://api.github.com/users/sc0w/followers","following_url":"https://api.github.com/users/sc0w/following{/other_user}","gists_url":"https://api.github.com/users/sc0w/gists{/gist_id}","starred_url":"https://api.github.com/users/sc0w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sc0w/subscriptions","organizations_url":"https://api.github.com/users/sc0w/orgs","repos_url":"https://api.github.com/users/sc0w/repos","events_url":"https://api.github.com/users/sc0w/events{/privacy}","received_events_url":"https://api.github.com/users/sc0w/received_events","type":"User","site_admin":false},"created_at":"2017-11-26T19:48:37Z","updated_at":"2017-11-26T19:48:37Z","author_association":"MEMBER","body":"the screen number is always the same, and that comparison can be removed safely\r\n\r\ncur_n `0`\r\nn `0`\r\n\r\n@monsta \r\n\r\n> BTW, this change removes the comparing of GdkDisplay names too... should it be so?\r\n\r\nyes, it works for that reason\r\n\r\nhere, in my tests:\r\n\r\ncur_name `:0`\r\nname `:0.0`\r\n\r\ndifferent values, so, return FALSE, and it makes the new window\r\n```\r\n\tif (strcmp (cur_name, name) != 0 || cur_n != n)\r\n\t\treturn FALSE;\r\n```"}}
{"actor":{"display_login":"sc0w"}}