Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/RulerActivity.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-06-09 21:17:35 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-06-09 21:17:35 (GMT)
commit3c9346c943798285b2ed65c1f59b5e2db7a3becf (patch)
tree1764eb64851cc5ae28f6f7fbafcb3e7283f7b3da /RulerActivity.py
creating new project for Ruler
Diffstat (limited to 'RulerActivity.py')
-rw-r--r--RulerActivity.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/RulerActivity.py b/RulerActivity.py
new file mode 100644
index 0000000..dd51f46
--- /dev/null
+++ b/RulerActivity.py
@@ -0,0 +1,27 @@
+# Copyright 2007 Mitchell N. Charity
+#
+# This file is part of Ruler.
+#
+# Ruler is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Ruler is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Ruler. If not, see <http://www.gnu.org/licenses/>
+
+import subactivity
+
+class RulerActivity(subactivity.Activity):
+
+ def configure_subactivities(self):
+
+ self.add_subactivity('show_rulers')
+ self.add_subactivity('show_grids')
+ self.add_subactivity('show_checkers')
+ self.add_subactivity('show_angles')