|
Lines 96-111
class Greeter(BridgeObject):
Link Here
|
| 96 |
LightDMGreeter.connect_to_daemon_sync() |
96 |
LightDMGreeter.connect_to_daemon_sync() |
| 97 |
except GError as err: |
97 |
except GError as err: |
| 98 |
logger.error(err) |
98 |
logger.error(err) |
| 99 |
dia = Dialog( |
99 |
logger.warn("Detected a problem that could interfere with the system login process. You can continue without major problems, but you won't be able to log in") |
| 100 |
title = "An error ocurred", |
|
|
| 101 |
message = "Detected a problem that could interfere" \ |
| 102 |
" with the system login process", |
| 103 |
detail = f"LightDM: {err}\n" \ |
| 104 |
"You can continue without major problems, " \ |
| 105 |
"but you won't be able to log in", |
| 106 |
buttons = ["Okay"] |
| 107 |
) |
| 108 |
dia.exec() |
| 109 |
|
100 |
|
| 110 |
self._connect_signals() |
101 |
self._connect_signals() |
| 111 |
self._determine_shared_data_directory_path() |
102 |
self._determine_shared_data_directory_path() |