Skip to content

Commit

Permalink
Convert the network auth dialog to a clutter dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMcc authored and clefebvre committed Nov 4, 2024
1 parent d368157 commit 16cf990
Show file tree
Hide file tree
Showing 11 changed files with 1,810 additions and 8 deletions.
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Build-Depends:
libpolkit-agent-1-dev (>= 0.100),
libpulse-dev,
librsvg2-dev,
libsecret-1-dev,
libstartup-notification0-dev (>= 0.11),
libxapp-dev (>= 2.6.0),
meson,
Expand Down
2 changes: 2 additions & 0 deletions js/misc/config.js.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
var PACKAGE_NAME = '@PACKAGE_NAME@';
/* The version of this package */
var PACKAGE_VERSION = '@PACKAGE_VERSION@';
/* 1 if networkmanager is available, 0 otherwise */
var HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
6 changes: 6 additions & 0 deletions js/ui/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ const PointerTracker = imports.misc.pointerTracker;

const SoundManager = imports.ui.soundManager;
const BackgroundManager = imports.ui.backgroundManager;
const Config = imports.misc.config;
const SlideshowManager = imports.ui.slideshowManager;
var AppletManager = imports.ui.appletManager;
const SearchProviderManager = imports.ui.searchProviderManager;
Expand All @@ -107,6 +108,7 @@ const KeyringPrompt = imports.ui.keyringPrompt;
const RunDialog = imports.ui.runDialog;
const Layout = imports.ui.layout;
const LookingGlass = imports.ui.lookingGlass;
const NetworkAgent = imports.ui.networkAgent;
const NotificationDaemon = imports.ui.notificationDaemon;
const WindowAttentionHandler = imports.ui.windowAttentionHandler;
const CinnamonDBus = imports.ui.cinnamonDBus;
Expand Down Expand Up @@ -163,6 +165,7 @@ var xdndHandler = null;
var statusIconDispatcher = null;
var virtualKeyboard = null;
var layoutManager = null;
var networkAgent = null;
var monitorLabeler = null;
var themeManager = null;
var keybindingManager = null;
Expand Down Expand Up @@ -419,6 +422,9 @@ function start() {
windowAttentionHandler = new WindowAttentionHandler.WindowAttentionHandler();
placesManager = new PlacesManager.PlacesManager();

if (Config.HAVE_NETWORKMANAGER)
networkAgent = new NetworkAgent.NetworkAgent();

magnifier = new Magnifier.Magnifier();
locatePointer = new LocatePointer.locatePointer();

Expand Down
Loading

0 comments on commit 16cf990

Please sign in to comment.