[tracker/tracker-0.12] tracker-needle: Have a more inviting message for "no results" view
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] tracker-needle: Have a more inviting message for "no results" view
- Date: Thu, 6 Oct 2011 10:38:18 +0000 (UTC)
commit f46131bea8d1d9fb158d476019d3a7ee6658cf66
Author: Martyn Russell <martyn lanedo com>
Date: Thu Oct 6 10:58:43 2011 +0100
tracker-needle: Have a more inviting message for "no results" view
src/tracker-needle/tracker-view.vala | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-needle/tracker-view.vala b/src/tracker-needle/tracker-view.vala
index f9ff95d..c48705d 100644
--- a/src/tracker-needle/tracker-view.vala
+++ b/src/tracker-needle/tracker-view.vala
@@ -106,9 +106,12 @@ public class Tracker.View : ScrolledWindow {
Label l;
l = new Label ("");
+ l.set_justify (Justification.CENTER);
- string message = _("No Search Results");
- string markup = @"<big>$message</big>";
+ string results = _("No Search Results");
+ string help_views = _("Select the view on the toolbar for the content you want, e.g. everything, files or just images");
+ string help_search = _("Start to search using the entry box above");
+ string markup = @"<big>$results</big>\n\n$help_views\n\n$help_search";
l.set_use_markup (true);
l.set_markup (markup);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]