From 49f2e5c5862b5b491dc0d7233f17ea02ef635f2f Mon Sep 17 00:00:00 2001 From: moguno Date: Fri, 16 May 2014 00:50:27 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=9D=E3=82=B9=E3=83=88=E3=83=9C=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=82=B9=E3=81=AB=E6=96=87=E5=AD=97=E5=88=97=E3=82=92?= =?UTF-8?q?=E3=83=9A=E3=83=BC=E3=82=B9=E3=83=88=E3=81=97=E3=81=9F=E3=82=8A?= =?UTF-8?q?buffer=E3=82=92=E7=9B=B4=E6=8E=A5=E3=81=84=E3=81=98=E3=82=8B?= =?UTF-8?q?=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89=E3=82=92=E7=99=BA=E5=8B=95?= =?UTF-8?q?=E3=81=95=E3=81=9B=E3=81=A6=E3=82=82=E3=80=81=E6=8A=95=E7=A8=BF?= =?UTF-8?q?=E3=83=9C=E3=82=BF=E3=83=B3=E3=81=8C=E6=9C=89=E5=8A=B9=E3=81=AB?= =?UTF-8?q?=E9=B3=B4=E3=82=89=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=81=AB?= =?UTF-8?q?=E5=AF=BE=E5=BF=9C=E3=81=97=E3=81=9F=E3=80=82=20=E3=82=92=20Ple?= =?UTF-8?q?ase=20enter=20the=20commit=20message=20for=20your=20changes.=20?= =?UTF-8?q?Lines=20starting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/mui/gtk_postbox.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core/mui/gtk_postbox.rb b/core/mui/gtk_postbox.rb index 65c6142..30b24f8 100644 --- a/core/mui/gtk_postbox.rb +++ b/core/mui/gtk_postbox.rb @@ -66,12 +66,9 @@ module Gtk post_set_default_text(@post) @post.wrap_mode = Gtk::TextTag::WRAP_CHAR @post.border_width = 2 - @post.ssc('key_release_event'){ |textview, event| + @post.buffer.ssc('changed') { |textview| refresh_buttons(false) false } - @post.ssc('paste-clipboard'){ |this| - Delayer.new{ refresh_buttons(false) } - false } @post.signal_connect_after('focus_out_event', &method(:focus_out_event)) @post end alias post widget_post -- 1.9.2