プロジェクト

全般

プロフィール

バグ #1520 » 0001-mastodon-refs-1520.patch

Izumi Tsutsui, 2021-10-24 04:38

差分を表示:

plugin/mastodon_account_viewer/relational_container.rb
115 115
    end
116 116

  
117 117
    def gen_follow_relation
118
      Gtk::Box.new(:vertical, 0)
119
        .closeup(gen_following_relation)
120
        .closeup(gen_followed_relation)
121
    end
122

  
123
    def gen_following_relation
124 118
      if me?
125 119
        Gtk::Label.new(_('それはあなたです!'))
126 120
      else
127
        Gtk::HBox.new
128
          .closeup(following_arrow_widget)
129
          .closeup(following_label)
121
        Gtk::Box.new(:vertical, 0)
122
          .closeup(gen_following_relation)
123
          .closeup(gen_followed_relation)
130 124
      end
131 125
    end
132 126

  
127
    def gen_following_relation
128
      Gtk::Box.new(:horizontal)
129
        .closeup(following_arrow_widget)
130
        .closeup(following_label)
131
    end
132

  
133 133
    def gen_followed_relation
134
      Gtk::HBox.new
134
      Gtk::Box.new(:horizontal)
135 135
        .closeup(followed_arrow_widget)
136 136
        .closeup(followed_label)
137 137
    end
(2-2/3)