Changes

Jump to navigation Jump to search
m
Line 1: Line 1: −
[http://git.sugarlabs.org/projects/ruler/repos/mainline/trees/master Ruler] is a simple activity that uses Cairo graphics. It is also an example of how to use both the new (0.86+) and old (pre-0,86) toolbar, and simple Journal interaction. Not the more beautiful code, but it works.
+
[http://git.sugarlabs.org/projects/ruler/repos/mainline/trees/master Ruler] is a simple activity that uses Cairo graphics. It is also an example of how to use both the new (0.86+) and old (pre-0,86) toolbar, and simple Journal interaction. Not the most beautiful code, but it works.
    
Misc. imports. Note that we catch an exception if the new 0.86 toolbars aren't available.
 
Misc. imports. Note that we catch an exception if the new 0.86 toolbars aren't available.
Line 41: Line 41:  
import show_angles
 
import show_angles
   −
SERVICE = 'org.sugarlabs.RulerActivity'
  −
IFACE = SERVICE
  −
PATH = '/org/augarlabs/RulerActivity'
   
</pre>
 
</pre>
  

Navigation menu