Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerick <erick@sugar-dev-erick.(none)>2009-12-02 03:40:07 (GMT)
committer erick <erick@sugar-dev-erick.(none)>2009-12-02 03:40:07 (GMT)
commit5ffd0d4b2eddfc6bc6b63caf4013568c966cde17 (patch)
treeb7965d3840125d29dd0880899588a645c0945e58
parentb6d1f775b08b97a434f78e841e8e84397e54ffac (diff)
Added probe to Frame
-rw-r--r--src/jarabe/frame/frame.py4
1 files changed, 4 insertions, 0 deletions
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