Change the "Paste & Go" action's text to "Paste & Search" if the content of the clipboard is not a URL

Review Request #102441 - Created Aug. 25, 2011 and submitted

Information
Furkan Üzümcü
rekonq
Reviewers
rekonq
If the content of the clipboard is not a URL, the "Paste & Go" action's text is changed to "Paste & Search".
Compiles and works.
Johannes Tröscher
Furkan Üzümcü
Andrea Diamantini
Andrea Diamantini
Furkan Üzümcü
Furkan Üzümcü
Andrea Diamantini
Furkan Üzümcü
Review request changed

Change Summary:

Now trying to "paste & search" something is really searched on the web.

Diff:

Revision 5 (+33 -2)

Show changes

Johannes Tröscher
i suggest you should create a new review request that just handles the "really search the web" part as tomorrow is string freeze and add it to the pasteAndGo function.
src/urlbar/urlbar.cpp (Diff revision 5)
 
 
the empty case will not happen, because the action is disabled if the clipboard is empty. furthermore i see no reason in proceeding if the clipboard is empty.
Commit Hook
This review has been submitted with commit 3ed265b387092e2f112ea1c9933501b3bf64d551 by Furkan Uzumcu to branch master.
Loading...