[gnome-games/wip/exalm/cache2: 6/27] collection-icon-view: Add invalidate_filter()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/cache2: 6/27] collection-icon-view: Add invalidate_filter()
- Date: Sun, 7 Oct 2018 10:23:35 +0000 (UTC)
commit 2073c15b90ce4f3725aff2a0cbe6781c4ad00d1d
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Mon Oct 1 16:43:01 2018 +0500
collection-icon-view: Add invalidate_filter()
This will be used in the next commit to refresh "Unknown" developer filter
each time a developer has loaded.
src/ui/collection-icon-view.vala | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/ui/collection-icon-view.vala b/src/ui/collection-icon-view.vala
index 572a1784..098340c1 100644
--- a/src/ui/collection-icon-view.vala
+++ b/src/ui/collection-icon-view.vala
@@ -10,7 +10,7 @@ private class Games.CollectionIconView : Gtk.Bin {
if (value != null)
filtering_terms = value.split (" ");
- flow_box.invalidate_filter ();
+ invalidate_filter ();
}
}
@@ -19,7 +19,7 @@ private class Games.CollectionIconView : Gtk.Bin {
get { return _filtering_developer; }
set {
_filtering_developer = value;
- flow_box.invalidate_filter ();
+ invalidate_filter ();
}
}
@@ -28,7 +28,7 @@ private class Games.CollectionIconView : Gtk.Bin {
get { return _filtering_platform; }
set {
_filtering_platform = value;
- flow_box.invalidate_filter ();
+ invalidate_filter ();
}
}
@@ -108,6 +108,10 @@ private class Games.CollectionIconView : Gtk.Bin {
is_active = false;
}
+ public void invalidate_filter () {
+ flow_box.invalidate_filter ();
+ }
+
public bool gamepad_button_press_event (Manette.Event event) {
if (!get_mapped ())
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]