Created
December 12, 2021 06:28
-
-
Save Akkiesoft/020585ead32240e8dadee20c2832ab12 to your computer and use it in GitHub Desktop.
なんか手元から飛び出してきた
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/core/mui/gtk_message_picker.rb b/core/mui/gtk_message_picker.rb | |
| index f3d7f06c..3a747a76 100644 | |
| --- a/core/mui/gtk_message_picker.rb | |
| +++ b/core/mui/gtk_message_picker.rb | |
| @@ -40,25 +40,25 @@ class Gtk::MessagePicker < Gtk::Frame | |
| def option_widgets | |
| @option_widgets ||= Gtk::Grid.new. | |
| - add(Mtk::boolean(lambda{ |new| | |
| - unless new.nil? | |
| - @function = function(new) | |
| - call end | |
| - @function == :or }, | |
| - 'いずれかにマッチする')). | |
| - add(Mtk::boolean(lambda{ |new| | |
| - unless new.nil? | |
| - @not = new | |
| - call end | |
| - @not }, | |
| - '否定')) end | |
| + add(boolean(lambda{ |new| | |
| + unless new.nil? | |
| + @function = function(new) | |
| + call end | |
| + @function == :or }, | |
| + 'いずれかにマッチする')). | |
| + add(boolean(lambda{ |new| | |
| + unless new.nil? | |
| + @not = new | |
| + call end | |
| + @not }, | |
| + '否定')) end | |
| def add_button | |
| @add_button ||= gen_add_button end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment