mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
TEMP: More debug
Only sabotage startup when username == 'testuser'
This commit is contained in:
parent
5c621da205
commit
9f8a62e0ca
1 changed files with 8 additions and 2 deletions
|
|
@ -786,8 +786,14 @@ export const LayoutManager = GObject.registerClass({
|
|||
|
||||
_startupAnimationSession() {
|
||||
const onStopped = () => this._startupAnimationComplete();
|
||||
console.warn('WAT!! in _startupAnimationSession - Sleeping 200 seconds - trying to reproduce issue 62');
|
||||
GLib.usleep(200 * 1000 * 1000 * 1000);
|
||||
console.warn('Username:');
|
||||
console.warn(GLib.get_user_name());
|
||||
if (GLib.get_user_name() == 'testuser') {
|
||||
console.warn('WAT!! in _startupAnimationSession - Sleeping 200 seconds - trying to reproduce issue 62');
|
||||
GLib.usleep(200 * 1000 * 1000 * 1000);
|
||||
} else {
|
||||
console.warn('WAT!! bypassing sabotage in _startupAnimationSession');
|
||||
}
|
||||
if (Main.sessionMode.hasOverview) {
|
||||
Main.overview.runStartupAnimation(onStopped);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue