diff options
author | Denis Fomin <fominde@gmail.com> | 2013-05-17 22:44:45 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2013-05-17 22:44:45 +0400 |
commit | 91da4b34774f5382c032d501d161b52dd2df2a04 (patch) | |
tree | 859236af108bdd90070141535c840e79fd6f082c | |
parent | 5b5f9c2a23c6ce9e0c5c7bdc5abe77420dbdb1b1 (diff) |
BirthdayReminderPlugin. typo
-rw-r--r-- | birthday_reminder/plugin.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/birthday_reminder/plugin.py b/birthday_reminder/plugin.py index 0333ce5..ef92ddc 100644 --- a/birthday_reminder/plugin.py +++ b/birthday_reminder/plugin.py @@ -34,7 +34,7 @@ class BirthDayPlugin(GajimPlugin): contact = gajim.contacts.get_highest_prio_contact_from_contacts( contact_instances) if contact: - nick = gobject.markup_escape_text(contact.get_shown_name()) + nick = GObject.markup_escape_text(contact.get_shown_name()) try: image = os.path.dirname(__file__) + os.sep + \ 'birthday_reminder_large.png' @@ -103,7 +103,6 @@ class BirthDayPlugin(GajimPlugin): @log_calls('BirthDayPlugin') def activate(self): - self.check_birthdays() self.timeout_id = GObject.timeout_add_seconds(24*3600, self.check_birthdays) @@ -118,4 +117,3 @@ class BirthDayPlugin(GajimPlugin): if obj.conn.name not in self.showed_accounts: self.check_birthdays(obj.conn.name) self.showed_accounts.append(obj.conn.name) - |