EphyDeli
Woohoo, I solved my Epiphany problem, so have just done the first release of EphyDeli.
EphyDeli is a Python extension for Epiphany that adds Post To Delicious menu and toolbar items, for posting the current page to Del.icio.us. It's lean, mean, and very simple, but does the job.
To download it you can either the tarball or fetch the bzr tree. Don't hesitate to mail me with any problems, and don't hesitate to drop a quick mail if you actually use it so I can see if it's popular.
Epiphany Requested
I'm trying to write an extension in Python for Epiphany that has a toolbar button, and let the user add/remove it at will. Now, I can add a button, but I can't get it to appear in the editor. This is probably due to me being silly and not understanding how the editable toolbar works...
I have already created an action for my extension, which is called "Post". If I do this:
shell = epiphany.ephy_shell_get_default() shell.get_toolbars_model().add_item(0, 0, "Post")
Then the button appears on the toolbar, and works. I can even remove it from the toolbar with the editor, but if I do this I can't add it back again. Does anyone understand how to add a toolbar and menu item (for the same action) to Epiphany from a Python extension?
Weekend
Yay for Bank Holiday weekends. It's been a busy one, in no particular order we:
- Saw Snakes On A Plane, which was good. It managed to be tongue-in-cheek without being silly, and Samuel L Jackson didn't disappoint at all. Great fun film.
- Saw Pirates Of The Caribbean 2, which wasn't bad. As ever it proves the rule that the sequel is never as good as the original, was a little too long, and the abrupt ending setting the stage for the third film was a little annoying. I didn't think it was bad though, but you really needed to have seen the first film.
- Had a swift pint (or two) with Allen before the cinema. He's been travelling around with work a lot recently (Manchester, Sheffield, Delhi) so catching him is quite tricky these days.
- Went out to dinner with Caroline to De Luca. Very good Italian, highly recommended.
- Cooked a roast chicken and so on for Pete and Jayne, before they go back to uni. This summer has flown by and we didn't really see them much, so it was good to spend half the day with them. I also failed to poison anyone with roast chicken, which is always good.
NP: [THN014] Zu Hause2 LP, Digitalverein