プロジェクト

全般

プロフィール

環境対応 #353

完了

profile.rbでtwitter.comを開くURLの問題

コスモ 虹川 さんが12年以上前に追加. 12年以上前に更新.

ステータス:
終了
優先度:
通常
担当者:
対象バージョン:
開始日:
2011-10-23
期日:
進捗率:

0%

プラグイン名:

説明

profile.rb中のtwitterを開くURLの問題
twitter.com/の後に#!/を追加しないとリダイレクトが掛かる。
以下パッチ
--- profile.rb 2011-10-23 04:11:40.112580725 0900
++ profile_.rb 2011-10-18 12:27:16.000000000 0900
@ -190,7 +190,7 @
(event.event_type Gdk::Event::BUTTON_RELEASE) and
not(textview.buffer.selection_bounds[2])
if (event.button 1)
- Gtk::openurl('http://twitter.com/'+user[:idname]) end
Gtk::openurl('http://twitter.com/#!/'+user[:idname]) end
elsif(event.is_a?(Gdk::EventMotion))
body.set_cursor(textview, Gdk::Cursor::HAND2) end
result }

他の形式にエクスポート: Atom PDF