21 New Patches.
[webos-internals:djcin7s-modifications.git] / universal-search / universal-search-add-bing-and-yahoo.patch
1 diff --git a/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js b/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js
2 index b9db2c2..5c12059 100644
3 --- a/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js
4 +++ b/usr/lib/luna/system/luna-applauncher/app/controllers/global-search-assistant.js
5 @@ -48,8 +48,8 @@ GlobalSearchAssistant = Class.create({
6                         'google':$L("www.google.com/m/search?client=ms-palm-webOS&channel=iss&q="),
7                         'wikipedia':$L("http://en.m.wikipedia.org/wiki/Special:Search?search="),
8                         'twitter': $L("http://search.twitter.com/search?q="),
9 -                       'yahoo': $L("http://search.yahoo.com/search?p="),
10 -                       'bing': $L("http://www.bing.com/search?q=")
11 +                       'yahoo': $L("http://m.yahoo.com/w/search?p="),
12 +                       'bing': $L("http://m.bing.com/TouchCommonPage.aspx?go=&d=&dl=&a=results&MID=1&asq=&asems=&q=")
13                 };
14                 
15                 this.searchEngineImages = {
16 @@ -144,6 +144,8 @@ GlobalSearchAssistant = Class.create({
17                 this.controller.setupWidget('web_drawer', {unstyled:true, property:'showWeb'}, this.webDrawer);
18                 
19                 this.searchEngineList = [{id:"google",title:"Google",imgFile:"images/search-google.png", showImage:"block", showName:"none"},
20 +                                                                {id:"yahoo",title:"Yahoo",imgFile:"images/search-yahoo.png", showImage:"block", showName:"none"},
21 +                                                                {id:"bing",title:"Bing",imgFile:"images/search-bing.png", showImage:"block", showName:"none"},
22                                                                  {id:"map",title:"Google Maps",imgFile:"images/search-maps.png", showImage:"block", showName:"none"},
23                                                                  {id:"wikipedia",title:"Wikipedia",imgFile:"images/search-wikipedia.png", showImage:"block", showName:"none"},
24                                                                  {id:"twitter",title:"Twitter",imgFile:"images/search-twitter.png", showImage:"block", showName:"none"}