Skip to content

Commit 9f8f86d

Browse files
committedDec 20, 2011
introduced new plugin metadata entry "category". Show hint based on
category in Plugin Manager and update all core plugins respectively
1 parent 8eecfc3 commit 9f8f86d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+386
-79
lines changed
 

‎python/plugins/GdalTools/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ def name():
2121
return "GdalTools"
2222
def description():
2323
return "Integrate gdal tools into qgis"
24+
def category():
25+
return "Raster"
2426
def version():
2527
return "Version 1.2.29"
2628
def qgisMinimumVersion():

‎python/plugins/fTools/__init__.py

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,26 @@
2929
#---------------------------------------------------------------------
3030

3131
def name():
32-
return "fTools"
32+
return "fTools"
3333

3434
def description():
35-
return "Tools for vector data analysis and management"
35+
return "Tools for vector data analysis and management"
36+
37+
def category():
38+
return "Vector"
3639

3740
def version():
38-
return "0.6.1"
39-
41+
return "0.6.1"
42+
4043
def qgisMinimumVersion():
41-
return "1.4"
44+
return "1.4"
4245

4346
def icon():
44-
return "icons/logo_small.png"
45-
47+
return "icons/logo_small.png"
48+
4649
def authorName():
47-
return "Carson J. Q. Farmer"
50+
return "Carson J. Q. Farmer"
4851

4952
def classFactory( iface ):
50-
from fTools import fToolsPlugin
51-
return fToolsPlugin( iface )
53+
from fTools import fToolsPlugin
54+
return fToolsPlugin( iface )

0 commit comments

Comments
 (0)
Please sign in to comment.