File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ const GLib = imports.gi.GLib;
66const Signals = imports . signals ;
77
88const Config = imports . misc . config ;
9- const ScreenShield = imports . ui . screensaver . screenShield ;
109
1110const SIGTERM = 15 ;
1211
@@ -35,7 +34,7 @@ var AuthClient = class {
3534 let argv = [ helper_path ] ;
3635 let flags = Gio . SubprocessFlags . STDIN_PIPE | Gio . SubprocessFlags . STDOUT_PIPE ;
3736
38- if ( ScreenShield . _debug ) {
37+ if ( global . settings . get_boolean ( 'debug-screensaver' ) ) {
3938 argv . push ( '--debug' ) ;
4039 } else {
4140 flags |= Gio . SubprocessFlags . STDERR_SILENCE ;
@@ -160,7 +159,7 @@ var AuthClient = class {
160159 for ( let i = 0 ; i < lines . length ; i ++ ) {
161160 let output = lines [ i ] ;
162161 if ( output . length > 0 ) {
163- if ( ScreenShield . _debug )
162+ if ( global . settings . get_boolean ( 'debug-screensaver' ) )
164163 global . log ( `authClient: received: '${ output } '` ) ;
165164
166165 if ( output === 'CS_PAM_AUTH_FAILURE' ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ const Pango = imports.gi.Pango;
1212const AuthClient = imports . misc . authClient ;
1313const CinnamonEntry = imports . ui . cinnamonEntry ;
1414const KeyboardManager = imports . ui . keyboardManager ;
15- const ScreenShield = imports . ui . screensaver . screenShield ;
1615const UserWidget = imports . ui . userWidget ;
1716const Util = imports . misc . util ;
1817const Main = imports . ui . main ;
@@ -279,7 +278,7 @@ class UnlockDialog extends St.BoxLayout {
279278 } else {
280279 hintText = prompt . replace ( / : $ / , '' ) ;
281280 }
282- if ( ScreenShield . _debug )
281+ if ( global . settings . get_boolean ( 'debug-screensaver' ) )
283282 global . log ( `UnlockDialog: prompt='${ prompt } ', hintText='${ hintText } '` ) ;
284283
285284 this . _infoLabel . text = '' ;
You can’t perform that action at this time.
0 commit comments