[gnome-initial-setup/wip/port-to-gtk4: 91/110] Disable all pages
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/wip/port-to-gtk4: 91/110] Disable all pages
- Date: Sat, 16 Jul 2022 14:25:58 +0000 (UTC)
commit d2066ccb2afa2b199447fd83994efb4e365438b1
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jul 5 11:00:22 2022 -0300
Disable all pages
Next commits will start the transition to GTK4, and for that to
be as smooth as possible, it's better if pages are individually
ported.
gnome-initial-setup/gnome-initial-setup.c | 50 +++++++++++++++----------------
gnome-initial-setup/pages/meson.build | 28 ++++++++---------
2 files changed, 39 insertions(+), 39 deletions(-)
---
diff --git a/gnome-initial-setup/gnome-initial-setup.c b/gnome-initial-setup/gnome-initial-setup.c
index b7b61e7d..7795004f 100644
--- a/gnome-initial-setup/gnome-initial-setup.c
+++ b/gnome-initial-setup/gnome-initial-setup.c
@@ -33,18 +33,18 @@
#include <cheese-gtk.h>
#endif
-#include "pages/welcome/gis-welcome-page.h"
-#include "pages/language/gis-language-page.h"
-#include "pages/keyboard/gis-keyboard-page.h"
-#include "pages/network/gis-network-page.h"
-#include "pages/timezone/gis-timezone-page.h"
-#include "pages/privacy/gis-privacy-page.h"
-#include "pages/software/gis-software-page.h"
-#include "pages/goa/gis-goa-page.h"
-#include "pages/account/gis-account-pages.h"
-#include "pages/parental-controls/gis-parental-controls-page.h"
-#include "pages/password/gis-password-page.h"
-#include "pages/summary/gis-summary-page.h"
+//#include "pages/welcome/gis-welcome-page.h"
+//#include "pages/language/gis-language-page.h"
+//#include "pages/keyboard/gis-keyboard-page.h"
+//#include "pages/network/gis-network-page.h"
+//#include "pages/timezone/gis-timezone-page.h"
+//#include "pages/privacy/gis-privacy-page.h"
+//#include "pages/software/gis-software-page.h"
+//#include "pages/goa/gis-goa-page.h"
+//#include "pages/account/gis-account-pages.h"
+//#include "pages/parental-controls/gis-parental-controls-page.h"
+//#include "pages/password/gis-password-page.h"
+//#include "pages/summary/gis-summary-page.h"
#define VENDOR_PAGES_GROUP "pages"
#define VENDOR_SKIP_KEY "skip"
@@ -66,21 +66,21 @@ typedef struct {
#define PAGE(name, new_user_only) { #name, gis_prepare_ ## name ## _page, new_user_only }
static PageData page_table[] = {
- PAGE (welcome, FALSE),
- PAGE (language, FALSE),
- PAGE (keyboard, FALSE),
- PAGE (network, FALSE),
- PAGE (privacy, FALSE),
- PAGE (timezone, TRUE),
- PAGE (software, TRUE),
- PAGE (goa, FALSE),
- PAGE (account, TRUE),
- PAGE (password, TRUE),
+ //PAGE (welcome, FALSE),
+ //PAGE (language, FALSE),
+ //PAGE (keyboard, FALSE),
+ //PAGE (network, FALSE),
+ //PAGE (privacy, FALSE),
+ //PAGE (timezone, TRUE),
+ //PAGE (software, TRUE),
+ //PAGE (goa, FALSE),
+ //PAGE (account, TRUE),
+ //PAGE (password, TRUE),
#ifdef HAVE_PARENTAL_CONTROLS
- PAGE (parental_controls, TRUE),
- PAGE (parent_password, TRUE),
+ //PAGE (parental_controls, TRUE),
+ //PAGE (parent_password, TRUE),
#endif
- PAGE (summary, FALSE),
+ //PAGE (summary, FALSE),
{ NULL },
};
diff --git a/gnome-initial-setup/pages/meson.build b/gnome-initial-setup/pages/meson.build
index 32305018..54b0050d 100644
--- a/gnome-initial-setup/pages/meson.build
+++ b/gnome-initial-setup/pages/meson.build
@@ -1,20 +1,20 @@
pages = [
- 'account',
- 'language',
- 'keyboard',
- 'network',
- 'timezone',
- 'privacy',
- 'goa',
- 'password',
- 'software',
- 'summary',
- 'welcome',
+ #'account',
+ #'language',
+ #'keyboard',
+ #'network',
+ #'timezone',
+ #'privacy',
+ #'goa',
+ #'password',
+ #'software',
+ #'summary',
+ #'welcome',
]
-if libmalcontent_dep.found() and libmalcontent_ui_dep.found()
- pages += 'parental-controls'
-endif
+#if libmalcontent_dep.found() and libmalcontent_ui_dep.found()
+# pages += 'parental-controls'
+#endif
foreach page: pages
subdir (page)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]