[gnome-games/wip/exalm/spinner-performance] ui: Add GamesView
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/spinner-performance] ui: Add GamesView
- Date: Sat, 22 Sep 2018 14:20:23 +0000 (UTC)
commit 4cad92ab52e0db86f79c20a368d37ca2f703047a
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]