From 400d639e31a8787e7aa78c05a01b601ef182ff07 Mon Sep 17 00:00:00 2001 From: Matthias Pronk Date: Fri, 22 Feb 2013 14:15:14 +0100 Subject: [PATCH] register_module has been renamed to register --- i3pystatus/__main__.py.dist | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/i3pystatus/__main__.py.dist b/i3pystatus/__main__.py.dist index 1888afe..4a88c18 100755 --- a/i3pystatus/__main__.py.dist +++ b/i3pystatus/__main__.py.dist @@ -44,7 +44,7 @@ mailsettings = { ] } mailchecker = mailchecker.MailChecker(mailsettings) -status.register_module(mailchecker) +status.register(mailchecker) # the mods.de forum new bookmarks module mdesettings = { @@ -52,17 +52,17 @@ mdesettings = { "password": "your_password" } mde = modsde.ModsDeChecker(mdesettings) -status.register_module(mde) +status.register(mde) # the notmuch mail checker module db_path = "path_to_your_notmuch_database" nm = notmuch.NotmuchMailChecker(db_path) -status.register_module(nm) +status.register(nm) # the thunderbird dbus new mail checker module tb = thunderbirdnewmail.ThunderbirdMailChecker() -status.register_module(tb) +status.register(tb) # the battery status checker module