Skip to content

Instantly share code, notes, and snippets.

View lwindolf's full-sized avatar

Lars Windolf lwindolf

View GitHub Profile
@lwindolf
lwindolf / example.py
Last active August 29, 2015 14:09
LifereaShellActivatable Python Boilerplate Example
from gi.repository import GObject, Peas, PeasGtk, Gtk, Liferea, Gdk
class ExamplePlugin (GObject.Object, Liferea.ShellActivatable):
__gtype_name__ = 'ExamplePlugin'
object = GObject.property (type=GObject.Object)
shell = GObject.property (type=Liferea.Shell)
def do_activate (self):
# Do something here...
@lwindolf
lwindolf / example.ini
Last active August 29, 2015 14:09
Liferea Plugin Configuration Example
[Plugin]
Module=example
Loader=python
IAge=2
Name=Example Plugin
Description=Illustrates how to implement plugins in Liferea
Authors=Lars Windolf <lars.windolf@gmx.de>
Copyright=Copyright © 2014 Lars Windolf
Website=http://lzone.de/liferea/
Help=http://lzone.de/liferea/