[tracker/tracker-0.12] tracker-needle: Don't allow entry use if switching view with tag filtering
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] tracker-needle: Don't allow entry use if switching view with tag filtering
- Date: Fri, 25 Nov 2011 15:45:46 +0000 (UTC)
commit 4c4c912b709b2cee93bc4971336dcd2c1f4e7845
Author: Martyn Russell <martyn lanedo com>
Date: Wed Oct 12 17:14:19 2011 +0200
tracker-needle: Don't allow entry use if switching view with tag filtering
src/tracker-needle/tracker-needle.vala | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-needle/tracker-needle.vala b/src/tracker-needle/tracker-needle.vala
index 92b3c7d..8596e43 100644
--- a/src/tracker-needle/tracker-needle.vala
+++ b/src/tracker-needle/tracker-needle.vala
@@ -566,13 +566,17 @@ public class Tracker.Needle {
if (find_in_contents.active) {
debug ("Find in toggled to 'contents'");
- search_entry.sensitive = true;
+ if (show_tags.active != true) {
+ search_entry.sensitive = true;
+ }
search_run ();
} else if (find_in_titles.active) {
debug ("Find in toggled to 'titles'");
- search_entry.sensitive = true;
+ if (show_tags.active != true) {
+ search_entry.sensitive = true;
+ }
search_run ();
} else if (find_in_all.active) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]