バグ #1491 » ggrks.diff
plugin/command/command.rb | ||
---|---|---|
169 | 169 |
visible: true, |
170 | 170 |
icon: "https://www.google.co.jp/images/google_favicon_128.png", |
171 | 171 |
role: :timeline) do |opt| |
172 |
::Gtk::openurl("http://www.google.co.jp/search?q=" + URI.escape(opt.widget.selected_text(opt.messages.first)).to_s) end
|
|
172 |
::Gtk::openurl("http://www.google.co.jp/search?" + URI.encode_www_form({'q'=>opt.widget.selected_text(opt.messages.first).to_s})) end
|
|
173 | 173 | |
174 | 174 |
command(:open_in_browser, |
175 | 175 |
name: _('ブラウザで開く'), |