Mercurial > wow > inventory
comparison Modules/Config.lua @ 210:1959e2b3dfe1
You can now toggle the minimap icon in the ?Extra? config category.
| author | Zerotorescue | 
|---|---|
| date | Sat, 05 Feb 2011 20:28:55 +0100 | 
| parents | 0ea991d9093c | 
| children | a7c02f65b072 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 209:1ed7ce9b1c5d | 210:1959e2b3dfe1 | 
|---|---|
| 1883 order = 10, | 1883 order = 10, | 
| 1884 type = "group", | 1884 type = "group", | 
| 1885 inline = true, | 1885 inline = true, | 
| 1886 name = "Miscellaneous", | 1886 name = "Miscellaneous", | 
| 1887 args = { | 1887 args = { | 
| 1888 minimapIcon = { | |
| 1889 order = 0, | |
| 1890 type = "toggle", | |
| 1891 width = "full", | |
| 1892 name = "Display the minimap icon", | |
| 1893 desc = "Display the minimap icon for Inventorium allowing functionality to be used without typing slash commands.", | |
| 1894 get = function() return addon.db.profile.defaults.minimapIcon; end, | |
| 1895 set = function(i, v) | |
| 1896 addon.db.profile.defaults.minimapIcon = v; | |
| 1897 | |
| 1898 if v then | |
| 1899 addon:GetModule("MinimapIcon"):ShowIcon(); | |
| 1900 else | |
| 1901 addon:GetModule("MinimapIcon"):HideIcon(); | |
| 1902 end | |
| 1903 end, | |
| 1904 }, | |
| 1888 hideHelp = { | 1905 hideHelp = { | 
| 1889 order = 10, | 1906 order = 10, | 
| 1890 type = "toggle", | 1907 type = "toggle", | 
| 1891 width = "full", | 1908 width = "full", | 
| 1892 name = "Hide any help tooltips, descriptions and the help config category", | 1909 name = "Hide any help tooltips, descriptions and the help config category", | 
