From a45e7239135c6bc143e8ba5efbdb05eb69155372 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 04 Nov 2008 16:31:44 +0000 Subject: Initial implementation of activity notifications --- (limited to 'bin') diff --git a/bin/sugar-session b/bin/sugar-session index d431312..12e1f9e 100644 --- a/bin/sugar-session +++ b/bin/sugar-session @@ -130,6 +130,10 @@ def show_software_updates_cb(home_window): if os.path.isfile(os.path.expanduser('~/.sugar-update')): home_window.get_home_box().show_software_updates_alert() +def setup_notification_service_cb(): + from jarabe.model import notifications + notifications.init() + def main(): cleanup_logs() logger.start('shell') @@ -165,6 +169,7 @@ def main(): gobject.idle_add(setup_frame_cb) gobject.idle_add(setup_keyhandler_cb) gobject.idle_add(setup_journal_cb) + gobject.idle_add(setup_notification_service_cb) gobject.idle_add(show_software_updates_cb, home_window) try: -- cgit v0.9.1