feat(main): connect polkit agent to auth dialog
This commit is contained in:
1 file changed
+2
@@ -20,6 +20,7 @@ from services.desktop_widget import DesktopWidgetService
|
|||||||
from services.keyboard_layout import KeyboardLayout
|
from services.keyboard_layout import KeyboardLayout
|
||||||
from services.sysauth import SysauthService
|
from services.sysauth import SysauthService
|
||||||
from shared.data import APP_NAME, load_config
|
from shared.data import APP_NAME, load_config
|
||||||
|
from shared.dialogs.sysauth_dialog import connect_sysauth_service
|
||||||
from utils.functions import set_process_name
|
from utils.functions import set_process_name
|
||||||
from utils.gtk_utils import generate_colors_from_wallpaper
|
from utils.gtk_utils import generate_colors_from_wallpaper
|
||||||
from window.dock import Dock
|
from window.dock import Dock
|
||||||
@@ -107,6 +108,7 @@ def main():
|
|||||||
# Initialize Polkit authentication agent
|
# Initialize Polkit authentication agent
|
||||||
sysauth = SysauthService()
|
sysauth = SysauthService()
|
||||||
sysauth.start()
|
sysauth.start()
|
||||||
|
connect_sysauth_service(sysauth)
|
||||||
|
|
||||||
switcher = ApplicationSwitcher()
|
switcher = ApplicationSwitcher()
|
||||||
panel = Panel()
|
panel = Panel()
|
||||||
|
|||||||
Reference in new issue
Block a user