Browse Source
indicator_libmessaging docstring and formatting
v0.6
lakshyacis
3 years ago
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB
1 changed files with
2 additions and
3 deletions
-
src/plugins/indicator_libmessaging.py
|
|
@ -1,7 +1,6 @@ |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
""" |
|
|
|
src/plugins/indicator_libmessaging.py |
|
|
|
===================================== |
|
|
|
Indicator plugin using libmessaging |
|
|
|
""" |
|
|
|
|
|
|
|
import gi |
|
|
@ -37,7 +36,7 @@ class IndicatorLibmessaging(object): |
|
|
|
if self.app: |
|
|
|
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""" |
|
|
|
self.form.appIndicatorInbox( |
|
|
|
self.new_message_item if source == 'messages' |
|
|
|