[gnome-games/wip/exalm/platform-preferences: 21/28] ui: Add PreferencesPageCategory



commit df431aafc4850cd77f670ce0d67ce59c8946f5e3
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Sep 25 19:47:19 2018 +0500

    ui: Add PreferencesPageCategory
    
    This will be used in subsequent commits to add separators between certain
    pages.

 src/meson.build                       | 1 +
 src/ui/preferences-page-category.vala | 6 ++++++
 2 files changed, 7 insertions(+)
---
diff --git a/src/meson.build b/src/meson.build
index fef1c8bf..f5898c2a 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -154,6 +154,7 @@ vala_sources = [
   'ui/platform-list-item.vala',
   'ui/platforms-view.vala',
   'ui/preferences-page.vala',
+  'ui/preferences-page-category.vala',
   'ui/preferences-page-controllers.vala',
   'ui/preferences-page-plugins.vala',
   'ui/preferences-page-plugins-item.vala',
diff --git a/src/ui/preferences-page-category.vala b/src/ui/preferences-page-category.vala
new file mode 100644
index 00000000..30445a7b
--- /dev/null
+++ b/src/ui/preferences-page-category.vala
@@ -0,0 +1,6 @@
+// This file is part of GNOME Games. License: GPL-3.0+.
+
+private enum Games.PreferencesPageCategory {
+       GENERAL,
+       PLATFORMS,
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]