Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
midori:tutorial [2014/03/04 18:34] – [Add an app menu item] axlrosemidori:tutorial [2014/06/06 20:08] (current) – [Add a new extension] axlrose
Line 45: Line 45:
 After any modifiction in "sandcat.vala" you just run: After any modifiction in "sandcat.vala" you just run:
 <code bash>user@host:~/midori/build$ make </code> <code bash>user@host:~/midori/build$ make </code>
-If you add a new extentioon you run :+If you add a new extention you will run :
 <code bash>user@host:~/midori/build$ make clean <code bash>user@host:~/midori/build$ make clean
 user@host:~/midori/build$ cd .. ; rm -rf build</code> user@host:~/midori/build$ cd .. ; rm -rf build</code>
Line 240: Line 240:
 In the Web page try to select a word or a sentence right click and you are going to see three menu item which were added, click on one of them and you will see the magic in the terminal :) .  In the Web page try to select a word or a sentence right click and you are going to see three menu item which were added, click on one of them and you will see the magic in the terminal :) . 
 ====== Add an app menu item ====== ====== Add an app menu item ======
-<vala code>+<code vala>
 namespace Sandcat { namespace Sandcat {
     private class Manager : Midori.Extension {     private class Manager : Midori.Extension {
Line 278: Line 278:
 } }
 </code> </code>
 +
 Here you are enjoy, it is easy, isn't it ? :-) Here you are enjoy, it is easy, isn't it ? :-)
 ====== Modify resources or webpages loaded ====== ====== Modify resources or webpages loaded ======