Changeset 842
- Timestamp:
- 10/29/07 19:35:34 (6 years ago)
- Files:
-
- 1 modified
-
lang/ruby/Amalgam/user-plugins/firefox_places.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/Amalgam/user-plugins/firefox_places.rb
r841 r842 38 38 39 39 def filter(cand, text) 40 MozPlaces.find(:all, :conditions => ["url like ?", "%#{text}%"], :limit => 10, :order => "visit_count DESC").sort_by {|i| 41 -i.visit_count 42 }.map {|place| 40 MozPlaces.find(:all, :conditions => ["url like ?", "%#{text}%"], :limit => 10, :order => "visit_count DESC").map {|place| 43 41 Candidate.new(place.url.sub(%r|^http://|, ""), place.title, @icon) do 44 42 system "open", "-a", "Firefox", place.url
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)