rhythmbox_webstatus/webstatus.py

16 lines
422 B
Python
Raw Permalink Normal View History

from gi.repository import GObject, Peas, RB
class WebStatusPlugin(GObject.Object, Peas.Activatable):
__gtype_name = 'WebStatusPlugin'
object = GObject.property(type=GObject.Object)
def __init__(self):
super(WebStatusPlugin, self).__init__()
def do_activate(self):
print("activating sample python plugin")
def do_deactivate(self):
print("deactivating sample python plugin")