utilize details to show root folder and icons

This commit is contained in:
Rob Weber 2017-12-08 11:16:59 -06:00
parent e1c8b5a61c
commit 4608f04d96
4 changed files with 10 additions and 4 deletions

View File

@ -17,6 +17,11 @@ For more specific information please check out the [wiki on Github](https://gith
* [FAQ](https://github.com/robweber/xbmcbackup/wiki/FAQ) * [FAQ](https://github.com/robweber/xbmcbackup/wiki/FAQ)
## Attributions
Icon files from Open Iconic — www.useiconic.com/open

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

View File

@ -142,13 +142,14 @@ class AdvancedBackupEditor:
while(exitCondition != -1): while(exitCondition != -1):
#load the custom paths #load the custom paths
options = [utils.getString(30126)] options = [xbmcgui.ListItem(utils.getString(30126),'',utils.addon_dir() + '/resources/images/plus-icon.png')]
for aPath in customPaths.getSets(): for index in range(0,len(customPaths.getSets())):
options.append(aPath) aSet = customPaths.getSet(index)
options.append(xbmcgui.ListItem(aSet['name'],utils.getString(30121) + ': ' + aSet['set']['root'],utils.addon_dir() + '/resources/images/folder-icon.png'))
#show the gui #show the gui
exitCondition = self.dialog.select(utils.getString(30125),options) exitCondition = self.dialog.select(utils.getString(30125),options,useDetails=True)
if(exitCondition >= 0): if(exitCondition >= 0):
if(exitCondition == 0): if(exitCondition == 0):