Project

General

Profile

バグ #1491 » ggrks.diff

Akira Ouchi, 2021-09-06 23:18

View differences:

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: _('ブラウザで開く'),
    (1-1/1)