[gnome-games/wip/exalm/platform-preferences: 53/76] ui: Add PreferencesPageCategory



commit 499f066da4145e9769195930ccecc221e28b54ea
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 456ef31d..fe4f450d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -157,6 +157,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]