Skip to content

Instantly share code, notes, and snippets.

Created May 22, 2011 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/985580 to your computer and use it in GitHub Desktop.
Save anonymous/985580 to your computer and use it in GitHub Desktop.
XUL/Migemo 0.13.6 for Fx4 patch
diff -ur orig/modules/places.jsm new/modules/places.jsm
--- orig/modules/places.jsm 2010-07-11 22:55:36.000000000 +0900
+++ new/modules/places.jsm 2011-05-23 00:17:34.000000000 +0900
@@ -605,7 +605,7 @@
openCountColumnSQLFragment : ', o.open_count open_count',
openCountFinalColumnSQLFragment : ', open_count',
- openCountSourceSQLFragment : ' LEFT OUTER JOIN moz_openpages_temp o ON o.place_id = p.id',
+ openCountSourceSQLFragment : ' LEFT OUTER JOIN moz_openpages_temp o ON o.url = p.url',
/* output of the SQL must be:
SELECT single_string
@@ -918,7 +918,7 @@
init : function()
{
- this.openPageAvailable = XMigemoService.Comparator.compare(XMigemoService.XULAppInfo.version, '3.7a6pre') >= 0;
+ //this.openPageAvailable = XMigemoService.Comparator.compare(XMigemoService.XULAppInfo.version, '3.7a6pre') >= 0;
if (!this.openPageAvailable) {
this.openCountColumnSQLFragment = '';
this.openCountFinalColumnSQLFragment = '';
diff -ur xulmigemo.jar.d.orig/content/xulmigemo/places/locationBarOverlay.js xulmigemo.jar.d.new/content/xulmigemo/places/locationBarOverlay.js
--- xulmigemo.jar.d.orig/content/xulmigemo/places/locationBarOverlay.js 2010-07-13 22:55:24.000000000 +0900
+++ xulmigemo.jar.d.new/content/xulmigemo/places/locationBarOverlay.js 2011-05-07 22:07:05.000000000 +0900
@@ -1059,7 +1059,7 @@
return this.controller.input = aValue;
},
- get searchStatus(aValue)
+ get searchStatus()
{
return this.controller.searchStatus;
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment