...
 
Commits (14)
==============
Version 3.30.2
==============
* Fixes
- Fix search filter not updating when switching between collection views.
- Fix header bar buttons grabbing arrow keys in fullscreen.
==============
Version 3.30.1
==============
......
gnome-games-app (3.30.2-1) unstable; urgency=medium
* New upstream release
-- Jeremy Bicha <jbicha@debian.org> Sun, 25 Nov 2018 15:48:07 -0500
gnome-games-app (3.30.1-1) unstable; urgency=medium
* New upstream release (Closes: #909359)
......
project('gnome-games',
['vala', 'c'],
version: '3.30.1',
version: '3.30.2',
license: 'GPL3+',
meson_version: '>= 0.46.1'
)
......
......@@ -143,12 +143,15 @@ private class Games.CollectionBox : Gtk.Box {
[GtkCallback]
private void on_visible_child_changed () {
if (viewstack.visible_child == platform_view) {
platform_view.filtering_text = search_bar.text;
platform_view.select_default_row ();
}
else if (viewstack.visible_child == developer_view) {
developer_view.filtering_text = search_bar.text;
developer_view.select_default_row ();
}
else {
collection_view.filtering_text = search_bar.text;
collection_view.reset_scroll_position ();
}
}
......
......@@ -7,7 +7,9 @@ private class Games.CollectionIconView : Gtk.Bin {
private string[] filtering_terms;
public string filtering_text {
set {
filtering_terms = value.split (" ");
if (value != null)
filtering_terms = value.split (" ");
flow_box.invalidate_filter ();
}
}
......
......@@ -23,6 +23,9 @@ private class Games.DisplayHeaderBar : Gtk.HeaderBar {
private MediaSelector media_selector;
[GtkChild (name = "back")]
private Gtk.Button _back;
[GtkChild]
private Gtk.Button fullscreen;
......@@ -43,6 +46,9 @@ private class Games.DisplayHeaderBar : Gtk.HeaderBar {
private void on_fullscreen_changed () {
fullscreen.visible = can_fullscreen && !is_fullscreen;
restore.visible = can_fullscreen && is_fullscreen;
_back.can_focus = !is_fullscreen;
restore.can_focus = !is_fullscreen;
}
[GtkCallback]
......