Project

General

Profile

機能 #1205 » postbox_replies.patch

cob odo, 2018-04-12 17:13

View differences:

core/mui/gtk_postbox.rb
185 185
      @reply_widgets = []
186 186
      result = Gtk::HBox.new(false, 0).closeup(widget_tool).pack_start(widget_post).closeup(widget_remain).closeup(widget_send)
187 187
      w_replies = Gtk::VBox.new.add(result)
188
      @to.select{|m|m.is_a?(Message)}.each{ |message|
188
      @to.select{|m|m.is_a?(Diva::Model::MessageMixin) && m.respond_to?(:user) && m.user.is_a?(Diva::Model::UserMixin) }.each{ |message|
189 189
        w_reply = Gtk::HBox.new
190 190
        itv = Gtk::IntelligentTextview.new(message.to_show, 'font' => :mumble_basic_font)
191 191
        itv.style_generator = lambda{ get_backgroundstyle(message) }
    (1-1/1)