プロジェクト

全般

プロフィール

バグ #1202 » toolbar_visible.diff

Akira Ouchi, 2018-04-10 22:28

差分を表示:

core/plugin/gtk/toolbar_generator.rb
12 12
    def self.generate(container, event, role)
13 13
      Thread.new{
14 14
        Plugin.filtering(:command, {}).first.values.select{ |command|
15
          command[:icon] and command[:role] == role and command[:condition] === event }
15
          command[:visible] == true and command[:icon] and
16
          command[:role] == role and command[:condition] === event }
16 17
      }.next{ |commands|
17 18
        commands.each{ |command|
18 19
          face = command[:show_face] || command[:name] || command[:slug].to_s
(3-3/4)