プロジェクト

全般

プロフィール

環境対応 #1146 » gtk_intelligent_textview.rb.diff

Izumi Tsutsui, 2018-01-02 13:38

差分を表示:

/usr/pkg/share/mikutter/core/mui/gtk_intelligent_textview.rb 2018-01-02 13:31:25.000000000 +0900
121 121
  end
122 122

  
123 123
  def create_tag_ifnecessary(tagname, buffer, leftclick, rightclick)
124
    tag = buffer.create_tag(tagname, "underline" => Pango::UNDERLINE_SINGLE)
124
    tag = buffer.create_tag(tagname, "underline" => Pango::Underline::SINGLE)
125 125
    tag.signal_connect('event'){ |this, textview, event, iter|
126 126
      result = false
127 127
      if(event.is_a?(Gdk::EventButton)) and
    (1-1/1)