バグ #1553 » 0001-ImageMenuItem-underscore.patch
core/mui/gtk_contextmenu.rb | ||
---|---|---|
78 | 78 |
icon = icon.call(*[optional, widget][0, (icon.arity == -1 ? 1 : icon.arity)]) |
79 | 79 |
end |
80 | 80 |
if icon |
81 |
Gtk::ImageMenuItem.new(label: label_text).tap do |item| |
|
81 |
Gtk::ImageMenuItem.new(label: label_text, use_underline: true).tap do |item|
|
|
82 | 82 |
item.set_image(Gtk::WebIcon.new(icon, 16, 16)) |
83 | 83 |
item.always_show_image = true |
84 | 84 |
end |