[gnome-games] collection-view: Make is-selection-mode bidirectional
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] collection-view: Make is-selection-mode bidirectional
- Date: Tue, 23 Mar 2021 21:10:25 +0000 (UTC)
commit 89e4e873c4c0f016327c0fa67cd14c6b7cf0e5cd
Author: Neville <nevilleantony98 gmail com>
Date: Tue Aug 25 19:05:34 2020 +0530
collection-view: Make is-selection-mode bidirectional
This allows all pages to change selection mode.
src/ui/collection-view.ui | 6 +++---
src/ui/collections-page.ui | 2 +-
src/ui/platforms-page.ui | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/ui/collection-view.ui b/src/ui/collection-view.ui
index d5c87e7a..a9b379d0 100644
--- a/src/ui/collection-view.ui
+++ b/src/ui/collection-view.ui
@@ -443,7 +443,7 @@
<child>
<object class="GamesGamesPage" id="games_page">
<property name="visible">True</property>
- <property name="is-selection-mode" bind-source="GamesCollectionView"
bind-property="is-selection-mode"/>
+ <property name="is-selection-mode" bind-source="GamesCollectionView"
bind-property="is-selection-mode" bind-flags="bidirectional"/>
<signal name="game-activated" handler="on_game_activated"/>
<signal name="selected-items-changed" handler="on_selected_items_changed"/>
</object>
@@ -457,7 +457,7 @@
<property name="visible">True</property>
<property name="is-folded" bind-source="GamesCollectionView" bind-property="is-folded"
bind-flags="bidirectional"/>
<property name="is-subview-open" bind-source="GamesCollectionView"
bind-property="is-subview-open" bind-flags="bidirectional"/>
- <property name="is-selection-mode" bind-source="GamesCollectionView"
bind-property="is-selection-mode"/>
+ <property name="is-selection-mode" bind-source="GamesCollectionView"
bind-property="is-selection-mode" bind-flags="bidirectional"/>
<signal name="game-activated" handler="on_game_activated"/>
<signal name="notify::is-subview-open" handler="update_selection_availability"/>
<signal name="selected-items-changed" handler="on_selected_items_changed"/>
@@ -472,7 +472,7 @@
<child>
<object class="GamesCollectionsPage" id="collections_page">
<property name="visible">True</property>
- <property name="is-selection-mode" bind-source="GamesCollectionView"
bind-property="is-selection-mode"/>
+ <property name="is-selection-mode" bind-source="GamesCollectionView"
bind-property="is-selection-mode" bind-flags="bidirectional"/>
<property name="is-search-mode" bind-source="GamesCollectionView"
bind-property="search-mode" bind-flags="bidirectional"/>
<signal name="game-activated" handler="on_game_activated"/>
<signal name="selected-items-changed" handler="on_selected_items_changed"/>
diff --git a/src/ui/collections-page.ui b/src/ui/collections-page.ui
index 257f0383..9cb520aa 100644
--- a/src/ui/collections-page.ui
+++ b/src/ui/collections-page.ui
@@ -27,7 +27,7 @@
<child>
<object class="GamesGamesPage" id="collections_subpage">
<property name="visible">True</property>
- <property name="is-selection-mode" bind-source="GamesCollectionsPage"
bind-property="is-selection-mode"/>
+ <property name="is-selection-mode" bind-source="GamesCollectionsPage"
bind-property="is-selection-mode" bind-flags="bidirectional"/>
<signal name="game-activated" handler="on_game_activated"/>
<signal name="gamepad-cancel-clicked" handler="on_subpage_back_clicked"/>
<style>
diff --git a/src/ui/platforms-page.ui b/src/ui/platforms-page.ui
index 7e6413d4..3ba0c420 100644
--- a/src/ui/platforms-page.ui
+++ b/src/ui/platforms-page.ui
@@ -54,7 +54,7 @@
<object class="GamesGamesPage" id="games_page">
<property name="visible">True</property>
<property name="hexpand">True</property>
- <property name="is-selection-mode" bind-source="GamesPlatformsPage"
bind-property="is-selection-mode"/>
+ <property name="is-selection-mode" bind-source="GamesPlatformsPage"
bind-property="is-selection-mode" bind-flags="bidirectional"/>
<property name="is-search-empty" bind-source="GamesPlatformsPage"
bind-property="is-search-empty" bind-flags="bidirectional"/>
<signal name="game-activated" handler="on_game_activated"/>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]