Skip to content

Instantly share code, notes, and snippets.

@Akkiesoft
Created December 12, 2021 06:28
Show Gist options
  • Select an option

  • Save Akkiesoft/020585ead32240e8dadee20c2832ab12 to your computer and use it in GitHub Desktop.

Select an option

Save Akkiesoft/020585ead32240e8dadee20c2832ab12 to your computer and use it in GitHub Desktop.
なんか手元から飛び出してきた
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