← Back to team overview

desktop-packages team mailing list archive

[Bug 263134] Re: gtkmozembed set_chrome_mask doesn't seem to do anything

 

[Expired for gnome-python-extras (Ubuntu) because there has been no
activity for 60 days.]

** Changed in: gnome-python-extras (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-python-extras in Ubuntu.
https://bugs.launchpad.net/bugs/263134

Title:
  gtkmozembed set_chrome_mask doesn't seem to do anything

Status in “gnome-python-extras” package in Ubuntu:
  Expired

Bug description:
  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()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-python-extras/+bug/263134/+subscriptions