BirthdayReminderPlugin. typo
This commit is contained in:
@@ -34,7 +34,7 @@ class BirthDayPlugin(GajimPlugin):
|
|||||||
contact = gajim.contacts.get_highest_prio_contact_from_contacts(
|
contact = gajim.contacts.get_highest_prio_contact_from_contacts(
|
||||||
contact_instances)
|
contact_instances)
|
||||||
if contact:
|
if contact:
|
||||||
nick = gobject.markup_escape_text(contact.get_shown_name())
|
nick = GObject.markup_escape_text(contact.get_shown_name())
|
||||||
try:
|
try:
|
||||||
image = os.path.dirname(__file__) + os.sep + \
|
image = os.path.dirname(__file__) + os.sep + \
|
||||||
'birthday_reminder_large.png'
|
'birthday_reminder_large.png'
|
||||||
@@ -103,7 +103,6 @@ class BirthDayPlugin(GajimPlugin):
|
|||||||
|
|
||||||
@log_calls('BirthDayPlugin')
|
@log_calls('BirthDayPlugin')
|
||||||
def activate(self):
|
def activate(self):
|
||||||
self.check_birthdays()
|
|
||||||
self.timeout_id = GObject.timeout_add_seconds(24*3600,
|
self.timeout_id = GObject.timeout_add_seconds(24*3600,
|
||||||
self.check_birthdays)
|
self.check_birthdays)
|
||||||
|
|
||||||
@@ -118,4 +117,3 @@ class BirthDayPlugin(GajimPlugin):
|
|||||||
if obj.conn.name not in self.showed_accounts:
|
if obj.conn.name not in self.showed_accounts:
|
||||||
self.check_birthdays(obj.conn.name)
|
self.check_birthdays(obj.conn.name)
|
||||||
self.showed_accounts.append(obj.conn.name)
|
self.showed_accounts.append(obj.conn.name)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user