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



commit f5ec3afecf7a211ef12a33f0d04fdd16c5ba8041
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 8526bb06..e1eb2ffa 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -160,6 +160,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..6a08bdda
--- /dev/null
+++ b/src/ui/preferences-page-category.vala
@@ -0,0 +1,6 @@
+// This file is part of GNOME Games. License: GPL-3.0+.
+
+public enum Games.PreferencesPageCategory {
+       GENERAL,
+       PLATFORMS,
+}


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