indicator_libmessaging docstring and formatting

This commit is contained in:
lakshyacis 2019-12-21 12:43:52 +05:30
parent 8659c5313d
commit 624d96fbb9
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
""" """
src/plugins/indicator_libmessaging.py Indicator plugin using libmessaging
=====================================
""" """
import gi import gi
@ -37,7 +36,7 @@ class IndicatorLibmessaging(object):
if self.app: if self.app:
self.app.unregister() self.app.unregister()
def activate(self, app, source): # pylint: disable=unused-argument def activate(self, app, source): # pylint: disable=unused-argument
"""Activate the libmessaging indicator plugin""" """Activate the libmessaging indicator plugin"""
self.form.appIndicatorInbox( self.form.appIndicatorInbox(
self.new_message_item if source == 'messages' self.new_message_item if source == 'messages'