[gnome-games/wip/exalm/spinner-performance: 8/19] ui: Add GamesView
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/spinner-performance: 8/19] ui: Add GamesView
- Date: Sun, 23 Sep 2018 10:47:19 +0000 (UTC)
commit 453ceff0e4f4c80a46d24d585de04472547f56aa
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Fri Sep 21 18:57:58 2018 +0500
ui: Add GamesView
src/meson.build | 1 +
src/ui/games-view.vala | 11 +++++++++++
2 files changed, 12 insertions(+)
---
diff --git a/src/meson.build b/src/meson.build
index 9a886051..36c077a3 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -137,6 +137,7 @@ vala_sources = [
'ui/empty-collection.vala',
'ui/error-display.vala',
'ui/error-info-bar.vala',
+ 'ui/games-view.vala',
'ui/gamepad-browse.vala',
'ui/gamepad-mapper.vala',
'ui/gamepad-tester.vala',
diff --git a/src/ui/games-view.vala b/src/ui/games-view.vala
new file mode 100644
index 00000000..e48f39c5
--- /dev/null
+++ b/src/ui/games-view.vala
@@ -0,0 +1,11 @@
+// This file is part of GNOME Games. License: GPL-3.0+.
+
+private class Games.GamesView : SidebarView {
+ protected override void game_added (Game game) {}
+
+ protected override void invalidate (Gtk.ListBoxRow row_item) {}
+
+ protected override int sort_rows (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2) {
+ return 0;
+ }
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]