GNOME Bugzilla – Bug 767144
Fix toggling the search bar button
Last modified: 2016-06-02 12:06:20 UTC
When a key is pressed in the overview and the search bar is shown, the search is not toggled.
Created attachment 328930 [details] [review] Keep a pointer to the search bar in the GsShellOverview's private This is useful to refer to the search bar without having to use the GtkBuilder all the time. Also change the calls to the builder by the new search bar pointer.
Created attachment 328931 [details] [review] Toggle the search button when the search bar visibility changes The search button reveals the search bar but since the latter also gets revealed by simply typing in the overview, then the button should be toggled to reflect the state of the search bar visibility.
commit d479fe2e9e2bcd2e13813642f4d39010b9722b81 Author: Richard Hughes <richard@hughsie.com> Date: Thu Jun 2 13:01:00 2016 +0100 Switch to using GtkSearchBar Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=767143 https://bugzilla.gnome.org/show_bug.cgi?id=767144 https://bugzilla.gnome.org/show_bug.cgi?id=767146 https://bugzilla.gnome.org/show_bug.cgi?id=767148