Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
www-data committed May 12, 2011
1 parent 1db54c7 commit 66d1a31
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions browser/browser-no-clear-history.patch
@@ -1,3 +1,49 @@
diff --git a/usr/palm/applications/com.palm.app.browser/app/controllers/history-assistant.js b/usr/palm/applications/com.palm.app.browser/app/controllers/history-assistant.js
index 7f6d335..a344d59 100644
--- a/usr/palm/applications/com.palm.app.browser/app/controllers/history-assistant.js
+++ b/usr/palm/applications/com.palm.app.browser/app/controllers/history-assistant.js
@@ -19,13 +19,13 @@ function HistoryAssistant(webPreferences) {
this.historyStore = new HistoryStore({});
}

-HistoryAssistant.Menu = {
+//HistoryAssistant.Menu = {

- Clear: {
- label: $L('Clear History'),
- command: 'clear-history-command'
- }
-};
+ //Clear: {
+ // label: $L('Clear History'),
+ // command: 'clear-history-command'
+ //}
+//};

HistoryAssistant.prototype.setup = function() {
this.historyModel=[];
@@ -37,7 +37,7 @@ HistoryAssistant.prototype.setup = function() {
items: [
MenuData.ApplicationMenu.ShowBookmarks,
MenuData.ApplicationMenu.ShowHistory,
- HistoryAssistant.Menu.Clear
+ //HistoryAssistant.Menu.Clear
]
};

@@ -105,9 +105,9 @@ HistoryAssistant.prototype.handleCommand = function(event) {
this._openBookmarkView();
break;

- case HistoryAssistant.Menu.Clear.command:
- this._clearHistory();
- break;
+ //case HistoryAssistant.Menu.Clear.command:
+ // this._clearHistory();
+ // break;

case Mojo.Menu.prefsCmd:
this._openPreferencesView();
diff --git a/usr/palm/applications/com.palm.app.browser/app/views/preferences/preferences-scene.html b/usr/palm/applications/com.palm.app.browser/app/views/preferences/preferences-scene.html
index ede7991..dbb067e 100644
--- a/usr/palm/applications/com.palm.app.browser/app/views/preferences/preferences-scene.html
Expand Down

0 comments on commit 66d1a31

Please sign in to comment.