Public bug reported:

http://www.pygtk.org/pygtkmozembed/class-gtkmozembed.html#method-
gtkmozembed--set-chrome-mask seems to say that set_chrome_mask should
turn on bits of browser chrome. It doesn't; it seems to do nothing at
all. The following test program only shows the rendered data from the
URL, with no surrounding chrome.

I have Firefox 3.0 installed, which may be relevant. I haven't tried
with other versions.

#! /usr/bin/python

import gtk
import gtkmozembed

w = gtk.Window(gtk.WINDOW_TOPLEVEL)
w.set_default_size(790, 500)
w.show()
moz = gtkmozembed.MozEmbed()
w.add(moz)
moz.set_chrome_mask(gtkmozembed.FLAG_ALLCHROME)
moz.show()
moz.load_url('http://www.ubuntu.com/getubuntu/releasenotes?os=ubuntu&ver=8.04&lang=en')
gtk.main()

** Affects: gnome-python-extras (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gtkmozembed set_chrome_mask doesn't seem to do anything
https://bugs.launchpad.net/bugs/263134
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to