[gnome-games/wip/exalm/platform-preferences: 72/95] ui: Add PreferencesPageCategory



commit dbeb6066fa5c48a9323be529b252aba8033d78d0
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 f3c45078..91cbc016 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -155,6 +155,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]