[kde-doc-english] [trojita] src/Gui: GUI: less scary placeholder text for the quicksearch widget

Jan Kundrát jkt at flaska.net
Wed May 29 10:56:32 UTC 2013


Git commit 79a3961e44e716481bf8fdffab2b4edcd652a116 by Jan Kundrát.
Committed on 28/05/2013 at 00:42.
Pushed by jkt into branch 'master'.

GUI: less scary placeholder text for the quicksearch widget

Thansk to Mark Constable <markc at renta.net> for his suggestion and to Thomas
Lübking for following up.

REVIEW: 110680

M  +6    -1    src/Gui/MessageListWidget.cpp

http://commits.kde.org/trojita/79a3961e44e716481bf8fdffab2b4edcd652a116

diff --git a/src/Gui/MessageListWidget.cpp b/src/Gui/MessageListWidget.cpp
index af125d6..53de93a 100644
--- a/src/Gui/MessageListWidget.cpp
+++ b/src/Gui/MessageListWidget.cpp
@@ -43,8 +43,13 @@ MessageListWidget::MessageListWidget(QWidget *parent) :
 
     m_quickSearchText = new LineEdit(this);
 #if QT_VERSION >= 0x040700
-    m_quickSearchText->setPlaceholderText(tr("Quick Search / Leading \":=\" for direct IMAP search"));
+    m_quickSearchText->setPlaceholderText(tr("Quick Search"));
 #endif
+    m_quickSearchText->setToolTip(tr("Type in a text to search for within this mailbox. "
+                                     "The icon on the left can be used to limit the search options "
+                                     "(like whether to include addresses or message bodies, etc)."
+                                     "<br/><hr/>"
+                                     "Experts who have read RFC3501 can use the <code>:=</code> prefix and switch to a raw IMAP mode."));
     m_queryPlaceholder = tr("<query>");
 
     connect(m_quickSearchText, SIGNAL(returnPressed()), this, SLOT(slotApplySearch()));



More information about the kde-doc-english mailing list