[gnome-games/wip/exalm/cache2: 47/52] 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: 47/52] collection-icon-view: Add invalidate_filter()
- Date: Mon, 1 Oct 2018 16:44:28 +0000 (UTC)
commit aad308e44c21c090214e08fcb1c998a861dd4442
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 f5e7e0d4..bdfde41d 100644
--- a/src/ui/collection-icon-view.vala
+++ b/src/ui/collection-icon-view.vala
@@ -8,7 +8,7 @@ private class Games.CollectionIconView : Gtk.Bin {
public string filtering_text {
set {
filtering_terms = value.split (" ");
- flow_box.invalidate_filter ();
+ invalidate_filter ();
}
}
@@ -17,7 +17,7 @@ private class Games.CollectionIconView : Gtk.Bin {
get { return _filtering_developer; }
set {
_filtering_developer = value;
- flow_box.invalidate_filter ();
+ invalidate_filter ();
}
}
@@ -26,7 +26,7 @@ private class Games.CollectionIconView : Gtk.Bin {
get { return _filtering_platform; }
set {
_filtering_platform = value;
- flow_box.invalidate_filter ();
+ invalidate_filter ();
}
}
@@ -106,6 +106,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]