GNOME Bugzilla – Bug 646855
search-tab: Don't handle clicks on inactive icon
Last modified: 2011-04-11 19:01:59 UTC
Minor bug I stumbled upon while reviewing bug 636341.
Created attachment 185231 [details] [review] search-tab: Don't handle clicks on inactive icon The icon set as secondary icon of the search entry depends on whether a search is active or not - clicking the icon should reset the entry only in the former case. This is implemented by connecting/disconnecting the 'secondary-icon-clicked' signal when updating the icon, but an additional signal connection was left-over when refactoring the search entry, resulting in clicks on the inactive icon removing the hint text. Fix by removing the stray signal connection.
Comment on attachment 185231 [details] [review] search-tab: Don't handle clicks on inactive icon this does indeed look redundant
Attachment 185231 [details] pushed as 018e3bc - search-tab: Don't handle clicks on inactive icon