Opening gecko.rb on differnet screen


#1

Hello,

if i use different screen for opening mozembed Window, i don’t get
refreshed on loading url. What changes do i have to made, to get it
working?

Changes on gecko.rb

----------------- diff -------------------------
40a41,44

#self.screen = Gdk::Display.open(':2').get_screen(0)
self.screen = Gdk::Display.open('172.20.0.136:0.0').get_screen(0)

210c214,245
< Browser.new

start browser in window

button_moz.signal_connect(‘clicked’) {
Browser.new
}

#Browser.new
hbox.pack_start(button_moz)
hbox.pack_start(button_exit)
window.add(hbox)
window.show_all
----------------- / diff -------------------------

Best Regards
Stephan Helas