some minor changes, now do some testing..
authorThomas Bläsius <thomas.blaesius@kit.edu>
Mon, 16 Sep 2013 15:02:12 +0000 (17:02 +0200)
committerThomas Bläsius <thomas.blaesius@kit.edu>
Mon, 16 Sep 2013 15:02:12 +0000 (17:02 +0200)
ipelets/pagenumbers/pagenumbers.lua

index 9e556d3376c32858454bc707f975145b4f4de51c..957faa82c50fc1b51e5035f89040434d4913b8fe 100644 (file)
@@ -3,7 +3,7 @@
 ----------------------------------------------------------------------
 label = "Pagenumbers"
 
 ----------------------------------------------------------------------
 label = "Pagenumbers"
 
-about = [[ blubb ]]
+about = [[ An Ipelet for printing customizable pagenumbers to the pages. ]]
 
 local prefix = "pagenumbers"
 local format_layer = prefix .. "_format"
 
 local prefix = "pagenumbers"
 local format_layer = prefix .. "_format"
@@ -72,7 +72,7 @@ end
 
 function print_on_ever_page(model, pagenr_objects)
    local doc = model.doc
 
 function print_on_ever_page(model, pagenr_objects)
    local doc = model.doc
-   print "copy.."
+   -- print "copy.."
    -- first create the clones
    -- print "create clones"
    local clones = {}
    -- first create the clones
    -- print "create clones"
    local clones = {}
@@ -154,5 +154,16 @@ function page_has_layer(p, layer)
    return false
 end
 
    return false
 end
 
+----------------------------------------------------------------------
+-- show some message if someone clicks in the iplet menu -------------
+function run()
+   ipeui.messageBox(nil,
+                   "information",
+                   "Nothing to do here.",
+                   [[
+This ipelet is used differently...
+todo: add some text]],
+                   nil)
+end
 
 ----------------------------------------------------------------------
 
 ----------------------------------------------------------------------