mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
network: port to libnm
The libnm-glib is depreacted for a long time already. https://bugzilla.gnome.org/show_bug.cgi?id=789811
This commit is contained in:
parent
bc5be10d78
commit
d71af5e579
7 changed files with 255 additions and 317 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
const Gio = imports.gi.Gio;
|
||||
const Lang = imports.lang;
|
||||
const NMGtk = imports.gi.NMGtk;
|
||||
const NMA = imports.gi.NMA;
|
||||
const Signals = imports.signals;
|
||||
|
||||
// _getMobileProvidersDatabase:
|
||||
|
|
@ -14,7 +14,7 @@ let _mpd;
|
|||
function _getMobileProvidersDatabase() {
|
||||
if (_mpd == null) {
|
||||
try {
|
||||
_mpd = new NMGtk.MobileProvidersDatabase();
|
||||
_mpd = new NMA.MobileProvidersDatabase();
|
||||
_mpd.init(null);
|
||||
} catch (e) {
|
||||
log(e.message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue