Python API of "old" Gecko Version



Hi,

I'm trying to port tabs-on-treeview.py to the new API of Ephy 2.22. But
I have the problem, that

1) EphyEmbed.get_title() seems to be broken:

  File "/home/moh/.gnome2/epiphany/extensions/tabs_on_treeview.py",
line 368, in attach_tab self.treemodel.insert(page_num, [tab,
embed.get_title(), embed.get_icon()]) AttributeError:
'__main__.MozillaEmbed' object has no attribute 'get_title'

(embed is the object that one gets via
def attach_tab(self, window, embed)
)

2) What happened to the signal "title" of EphyEmbed? How should I
notice that a title changed?

I'm using Debian Sid with
epiphany: 2.22.3-1
xulrunner: 1.9.0.1-1

(plz CC me, as I'm not on the list)

cu
/Steffen

-- 
 /"\
 \ /  ASCII Ribbon Campaign    |  "The best way to predict
  X  * NO HTML/RTF in e-mail   | the future is to invent it."
 / \ * NO MSWord docs in e-mail|                -- Alan Kay

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]