Forum: Ruby-Gnome 2 opening gecko.rb on differnet screen

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Helas, Stephan (Guest)
on 2006-04-26 15:43
(Received via mailing list)
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
This topic is locked and can not be replied to.