aboutsummaryrefslogtreecommitdiffstats
path: root/MODULE_HACKING
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2016-05-09 12:10:58 +0200
committerMaarten Vanraes <alien@mageia.org>2016-05-09 12:10:58 +0200
commitbdbb1df3e309af3b7a07783f0959d0e1f4affd81 (patch)
treefaf75b3f03e9848e1cfbaf5a73b044ce1f61063b /MODULE_HACKING
parent844f1c68978e096506fdaa075b653fd38e7e8d6a (diff)
downloadmanatools-bdbb1df3e309af3b7a07783f0959d0e1f4affd81.tar
manatools-bdbb1df3e309af3b7a07783f0959d0e1f4affd81.tar.gz
manatools-bdbb1df3e309af3b7a07783f0959d0e1f4affd81.tar.bz2
manatools-bdbb1df3e309af3b7a07783f0959d0e1f4affd81.tar.xz
manatools-bdbb1df3e309af3b7a07783f0959d0e1f4affd81.zip
typos
Diffstat (limited to 'MODULE_HACKING')
-rw-r--r--MODULE_HACKING8
1 files changed, 4 insertions, 4 deletions
diff --git a/MODULE_HACKING b/MODULE_HACKING
index e5e3e3fa..4188c4a7 100644
--- a/MODULE_HACKING
+++ b/MODULE_HACKING
@@ -3,7 +3,7 @@ ManaTools Modules
mpan, ManaTools panel or Mageia Panel if you like,
is basically an application launcher, so everything
-executable file can be run really. To get benefit of UI abstarction
+executable file can be run really. To get benefit of UI abstraction
though, the "modules" should be written with the use of libYUI, yast
user interface abstraction, so that they can be run using a Gtk, ncurses
or Qt environment in a transparent manner.
@@ -19,7 +19,7 @@ How to write a perl ManaTools module
ManaTools module are written using Moose wit an OO apporach.
Modules are extension of the ManaTools::Module class.
-- Code alignemnt
+- Code alignment
As a simple code convention, we add the followin line at the
beginning of the file
@@ -50,14 +50,14 @@ graphic user interface and another is a lower level interface. Such
an approach allows to use shared things also into other projects
that don't want to use YUI bindings for instance.
-Said that you have to:
+Meaning that you have to:
1. Define the package name usually like:
package ManaTools::Module::MyModule;
2. Use Moose and yui, the first to extend Module the latter for libYUI
bindings.
-3. Extend ManaTools::Module defining a "start" method that has to be invokated
+3. Extend ManaTools::Module defining a "start" method that has to be invocated
by ManaTools.
Other important things are icon and name attributes, please have look at other modules
code and to Moose documentation.