プロジェクト

全般

プロフィール

バグ #1202 » toolbar_visible.diff

Akira Ouchi, 2018-04-10 22:28

差分を表示:

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