Commit b0d117d
committed
endSessionDialog.js: Don't close the dialog immediately when
selecting 'suspend' or 'hibernate'.
This was preventing the session manager from responding with an
inhibitor list and giving the user the option to ignore them and
'force' the action, as happens correctly with other options. It
was also breaking the lifecycle of this dialog and disable it
from showing again.
Also fix an issue with the inhibitor list not clearing existing
items when receiving an updated list from the session manager.
Fixes linuxmint/cinnamon-session#193.1 parent 09d280a commit b0d117d
1 file changed
Lines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 158 | + | |
162 | 159 | | |
163 | 160 | | |
164 | 161 | | |
165 | 162 | | |
166 | 163 | | |
167 | 164 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 165 | + | |
172 | 166 | | |
173 | 167 | | |
174 | 168 | | |
| |||
278 | 272 | | |
279 | 273 | | |
280 | 274 | | |
| 275 | + | |
281 | 276 | | |
282 | 277 | | |
283 | 278 | | |
| |||
0 commit comments