~alexlauni/do-plugins/bansheeplugin

« back to all changes in this revision

Viewing changes to GoogleSearch/src/ImFeelingLuckyAction.cs

  • Committer: Alex Launi
  • Date: 2009-02-28 17:40:30 UTC
  • mfrom: (276.37.54 trunk)
  • Revision ID: alex.launi@gmail.com-20090228174030-vj9z2b96smsodmmb
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
//
22
22
 
23
23
using System;
 
24
using System.Web;
24
25
using System.Collections.Generic;
25
26
using System.Linq;
26
27
using Do.Universe;
92
93
                        if (!results.Any ()) {
93
94
                                Gtk.Application.Invoke ((o, e) => Services.Notifications.Notify (Name, "No Results Found"));
94
95
                        } else {
95
 
                                Services.Environment.OpenUrl ( results.First ().url );
 
96
                                Services.Environment.OpenUrl (HttpUtility.UrlDecode (results.First ().url));
96
97
                        }
97
98
                        yield break;
98
99
                }