From 5ffd0d4b2eddfc6bc6b63caf4013568c966cde17 Mon Sep 17 00:00:00 2001 From: erick Date: Wed, 02 Dec 2009 03:40:07 +0000 Subject: Added probe to Frame --- diff --git a/src/jarabe/frame/frame.py b/src/jarabe/frame/frame.py index 55f866f..8b85377 100644 --- a/src/jarabe/frame/frame.py +++ b/src/jarabe/frame/frame.py @@ -35,6 +35,8 @@ from jarabe.frame.clipboardpanelwindow import ClipboardPanelWindow from jarabe.frame.notification import NotificationIcon, NotificationWindow from jarabe.model import notifications +from sugar.tutorius import TProbe + TOP_RIGHT = 0 TOP_LEFT = 1 BOTTOM_RIGHT = 2 @@ -133,6 +135,8 @@ class Frame(object): notification_service.notification_cancelled.connect( self.__notification_cancelled_cb) + self._probe = TProbe(self, "org.sugar.Frame", "1") + def is_visible(self): return self.current_position != 0.0 -- cgit v0.9.1