Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Bring back polkit authentication agent (and patch it...) #10177

Closed
wants to merge 14 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ Depends:
metacity,
nemo,
network-manager-gnome [linux-any],
policykit-1-gnome,
python3,
python3-dbus,
python3-distro,
Expand Down
4 changes: 4 additions & 0 deletions js/ui/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const SlideshowManager = imports.ui.slideshowManager;
var AppletManager = imports.ui.appletManager;
const SearchProviderManager = imports.ui.searchProviderManager;
const DeskletManager = imports.ui.deskletManager;
const PolkitAuthenticationAgent = imports.ui.polkitAuthenticationAgent;
const ExtensionSystem = imports.ui.extensionSystem;
const Keyboard = imports.ui.keyboard;
const MessageTray = imports.ui.messageTray;
Expand Down Expand Up @@ -438,6 +439,9 @@ function start() {
// initiate logouts.
//EndSessionDialog.init();

// Attempt to become a PolicyKit authentication agent
PolkitAuthenticationAgent.init()

_startDate = new Date();

global.stage.connect('captured-event', _stageEventHandler);
Expand Down
Loading