updates and new patches
[webos-internals:jeffrotulls-modifications.git] / universal-search / universal-search-add-imdb.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..570af13 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 @@ -47,6 +47,7 @@ GlobalSearchAssistant = Class.create({
6                 this.URLs = {
7                         'google':$L("www.google.com/m/search?client=ms-palm-webOS&channel=iss&q="),
8                         'wikipedia':$L("http://en.m.wikipedia.org/wiki/Special:Search?search="),
9 +                       'imdb': $L("http://m.imdb.com/find?s=all&q="),
10                         'twitter': $L("http://search.twitter.com/search?q="),
11                         'yahoo': $L("http://search.yahoo.com/search?p="),
12                         'bing': $L("http://www.bing.com/search?q=")
13 @@ -146,6 +147,7 @@ GlobalSearchAssistant = Class.create({
14                 this.searchEngineList = [{id:"google",title:"Google",imgFile:"images/search-google.png", showImage:"block", showName:"none"},
15                                                                  {id:"map",title:"Google Maps",imgFile:"images/search-maps.png", showImage:"block", showName:"none"},
16                                                                  {id:"wikipedia",title:"Wikipedia",imgFile:"images/search-wikipedia.png", showImage:"block", showName:"none"},
17 +                                                                {id:"imdb",title:"IMDB",imgFile:"images/search-imdb.png", showImage:"block", showName:"none"},
18                                                                  {id:"twitter",title:"Twitter",imgFile:"images/search-twitter.png", showImage:"block", showName:"none"}
19                                                                 ];
20                 this.searchEngineListModel = {items:this.searchEngineList};