バグ #675 » 0001-buffer.patch
core/mui/gtk_postbox.rb | ||
---|---|---|
66 | 66 |
post_set_default_text(@post) |
67 | 67 |
@post.wrap_mode = Gtk::TextTag::WRAP_CHAR |
68 | 68 |
@post.border_width = 2 |
69 |
@post.ssc('key_release_event'){ |textview, event|
|
|
69 |
@post.buffer.ssc('changed') { |textview|
|
|
70 | 70 |
refresh_buttons(false) |
71 | 71 |
false } |
72 |
@post.ssc('paste-clipboard'){ |this| |
|
73 |
Delayer.new{ refresh_buttons(false) } |
|
74 |
false } |
|
75 | 72 |
@post.signal_connect_after('focus_out_event', &method(:focus_out_event)) |
76 | 73 |
@post end |
77 | 74 |
alias post widget_post |