{"action":"created","issue":{"url":"https://api.github.com/repos/candlepin/subscription-manager/issues/1310","labels_url":"https://api.github.com/repos/candlepin/subscription-manager/issues/1310/labels{/name}","comments_url":"https://api.github.com/repos/candlepin/subscription-manager/issues/1310/comments","events_url":"https://api.github.com/repos/candlepin/subscription-manager/issues/1310/events","html_url":"https://github.com/candlepin/subscription-manager/pull/1310","id":109107628,"number":1310,"title":"1266480: Refresh TreeView selection after subscriptions are removed.","user":{"login":"awood","id":17975,"avatar_url":"https://avatars.githubusercontent.com/u/17975?v=3","gravatar_id":"","url":"https://api.github.com/users/awood","html_url":"https://github.com/awood","followers_url":"https://api.github.com/users/awood/followers","following_url":"https://api.github.com/users/awood/following{/other_user}","gists_url":"https://api.github.com/users/awood/gists{/gist_id}","starred_url":"https://api.github.com/users/awood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awood/subscriptions","organizations_url":"https://api.github.com/users/awood/orgs","repos_url":"https://api.github.com/users/awood/repos","events_url":"https://api.github.com/users/awood/events{/privacy}","received_events_url":"https://api.github.com/users/awood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-30T14:47:48Z","updated_at":"2015-09-30T15:22:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/candlepin/subscription-manager/pulls/1310","html_url":"https://github.com/candlepin/subscription-manager/pull/1310","diff_url":"https://github.com/candlepin/subscription-manager/pull/1310.diff","patch_url":"https://github.com/candlepin/subscription-manager/pull/1310.patch"},"body":"I'm a little *meh* about this fix, but given time constraints, I think it will have to suffice.  I don't like that when you unsubscribe an item say 4 rows down in the TreeView that the selection jumps back up to row 0 after the unsubscribe is finished.\r\n\r\nI tried\r\n\r\n```python\r\nselection.store.remove(selection.tree_iter)\r\n```\r\n\r\nwhich moves the selection up one row, but something else is running shortly thereafter that moves the selection back to 0."},"comment":{"url":"https://api.github.com/repos/candlepin/subscription-manager/issues/comments/144444793","html_url":"https://github.com/candlepin/subscription-manager/pull/1310#issuecomment-144444793","issue_url":"https://api.github.com/repos/candlepin/subscription-manager/issues/1310","id":144444793,"user":{"login":"alikins","id":15162,"avatar_url":"https://avatars.githubusercontent.com/u/15162?v=3","gravatar_id":"","url":"https://api.github.com/users/alikins","html_url":"https://github.com/alikins","followers_url":"https://api.github.com/users/alikins/followers","following_url":"https://api.github.com/users/alikins/following{/other_user}","gists_url":"https://api.github.com/users/alikins/gists{/gist_id}","starred_url":"https://api.github.com/users/alikins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alikins/subscriptions","organizations_url":"https://api.github.com/users/alikins/orgs","repos_url":"https://api.github.com/users/alikins/repos","events_url":"https://api.github.com/users/alikins/events{/privacy}","received_events_url":"https://api.github.com/users/alikins/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T15:22:08Z","updated_at":"2015-09-30T15:22:08Z","body":"re selection 'changed':\r\nala http://python-gtk-3-tutorial.readthedocs.org/en/latest/treeview.html#the-selection"}}