lib/rabbit/renderer/display/clutter-embed.rb in rabbit-0.6.4 vs lib/rabbit/renderer/display/clutter-embed.rb in rabbit-0.9.0
- old
+ new
@@ -193,12 +193,14 @@
init_menu
add_widget_to_window(@window)
widget.show
attach_menu(@window)
+ attach_key(@window)
end
def detach
+ detach_key(@window)
detach_menu(@window)
widget.hide
unless @window.destroyed?
remove_widget_from_window(@window)
@window.signal_handler_disconnect(@configure_signal_id)