From 446e1936f5798ba38683fe910469ad995abfdfa8 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Mon, 18 May 2020 17:04:37 +0200 Subject: [PATCH] gschema: move "org.gnome.nm-applet.gschema.xml" from network-manager-applet to libnma The schema is also used by libnma's "src/nma-ws/nma-eap.c" (formerly "src/wireless-security/eap-method.c") and g-c-c's "panels/network/wireless-security/eap-method.c". That means, despite the name of the schema, it really belongs to libnma. Move it to libnma ([1]). [1] https://gitlab.gnome.org/GNOME/libnma/-/commit/50cda26ae4beab31f30fb93fd36a7bcc5435adc1 See-also: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/881 See-also: https://gitlab.gnome.org/GNOME/libnma/-/merge_requests/11 (cherry-picked from commit 6b1aaade74cf9d2cc5f02433cf34525b279011de) --- Makefile.am | 3 -- configure.ac | 1 - meson.build | 13 -------- org.gnome.nm-applet.gschema.xml.in | 52 ------------------------------ po/POTFILES.in | 1 - 5 files changed, 70 deletions(-) delete mode 100644 org.gnome.nm-applet.gschema.xml.in diff --git a/Makefile.am b/Makefile.am index c863e8d4..09d258af 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1128,9 +1128,6 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) nm-connection-editor.desktop: nm-connection-editor.desktop.in $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ -gsettings_SCHEMAS = org.gnome.nm-applet.gschema.xml -@GSETTINGS_RULES@ - appdatadir = $(datadir)/metainfo appdata_DATA = $(appdata_in_files:.xml.in=.xml) appdata_in_files = nm-connection-editor.appdata.xml.in diff --git a/configure.ac b/configure.ac index 5f6a24c0..2144415d 100644 --- a/configure.ac +++ b/configure.ac @@ -339,7 +339,6 @@ src/libnma/libnma.pc po/Makefile.in man/nm-applet.1 man/nm-connection-editor.1 -org.gnome.nm-applet.gschema.xml src/libnma/nma-version.h ]) AC_OUTPUT diff --git a/meson.build b/meson.build index cf5d02f7..7f7ad12e 100644 --- a/meson.build +++ b/meson.build @@ -419,19 +419,6 @@ if appstream_util.found() ) endif -schema_conf = configuration_data() -schema_conf.set('GETTEXT_PACKAGE', nma_name) - -schema = 'org.gnome.nm-applet.gschema.xml' - -configure_file( - input: schema + '.in', - output: schema, - install: true, - install_dir: join_paths(nma_datadir, 'glib-2.0', 'schemas'), - configuration: schema_conf -) - install_data( 'nm-applet.convert', install_dir: join_paths(nma_datadir, 'GConf', 'gsettings') diff --git a/org.gnome.nm-applet.gschema.xml.in b/org.gnome.nm-applet.gschema.xml.in deleted file mode 100644 index 4f8c16af..00000000 --- a/org.gnome.nm-applet.gschema.xml.in +++ /dev/null @@ -1,52 +0,0 @@ - - - - - false - Disable connected notifications - Set this to true to disable notifications when connecting to a network. - - - false - Disable disconnected notifications - Set this to true to disable notifications when disconnecting from a network. - - - false - Disable VPN notifications - Set this to true to disable notifications when connecting to or disconnecting from a VPN. - - - true - Suppress networks available notifications - Set this to true to disable notifications when Wi-Fi networks are available. - - - 0 - Stamp - Used to determine whether settings should be migrated to a new version. - - - false - Disable WiFi Create - Set to true to disable creation of adhoc networks when using the applet. - - - true - Show the applet in notification area - Set to FALSE to disable displaying the applet in the notification area. - - - - - false - Ignore CA certificate - Set this to true to disable warnings about CA certificates in EAP authentication. - - - false - Ignore CA certificate - Set this to true to disable warnings about CA certificates in phase 2 of EAP authentication. - - - diff --git a/po/POTFILES.in b/po/POTFILES.in index 31cfdef8..7a7b546d 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -2,7 +2,6 @@ # Please keep this file sorted alphabetically. nm-applet.desktop.in nm-connection-editor.desktop.in -org.gnome.nm-applet.gschema.xml.in nm-connection-editor.appdata.xml.in shared/nm-utils/nm-shared-utils.c src/8021x.ui -- 2.25.3