[gnome-shell] Add screenshield and unlock dialog to ctrl-alt-tab
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Add screenshield and unlock dialog to ctrl-alt-tab
- Date: Sat, 17 Nov 2012 01:02:15 +0000 (UTC)
commit ced7fa9f01bf00aa326baf746d3f4409c2748f06
Author: Florian MÃllner <fmuellner gnome org>
Date: Sat Aug 11 05:53:59 2012 +0200
Add screenshield and unlock dialog to ctrl-alt-tab
As we now allow the ctrl-alt-tab popup on the lock screen, it should
be possible to navigate back from the top bar, so add the corresponding
elements to the switcher.
https://bugzilla.gnome.org/show_bug.cgi?id=688202
js/ui/screenShield.js | 1 +
js/ui/unlockDialog.js | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
index 3338dcc..881d667 100644
--- a/js/ui/screenShield.js
+++ b/js/ui/screenShield.js
@@ -398,6 +398,7 @@ const ScreenShield = new Lang.Class({
Lang.bind(this, this._onLockScreenKeyRelease));
this._lockScreenGroup.connect('scroll-event',
Lang.bind(this, this._onLockScreenScroll));
+ Main.ctrlAltTabManager.addGroup(this._lockScreenGroup, _("Lock"), 'changes-prevent-symbolic');
this._lockScreenContents = new St.Widget({ layout_manager: new Clutter.BinLayout(),
name: 'lockScreenContents' });
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index 2f46d64..9996385 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -200,6 +200,8 @@ const UnlockDialog = new Lang.Class({
return false;
}));
+ Main.ctrlAltTabManager.addGroup(this.dialogLayout, _("Unlock Window"), 'dialog-password-symbolic');
+
this._idleMonitor = new GnomeDesktop.IdleMonitor();
this._idleWatchId = this._idleMonitor.add_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, this._escape));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]