mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 20:35:48 +01:00
utilize details to show root folder and icons
This commit is contained in:
parent
e1c8b5a61c
commit
4608f04d96
@ -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)
|
||||
|
||||
|
||||
## Attributions
|
||||
|
||||
Icon files from Open Iconic — www.useiconic.com/open
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
BIN
resources/images/folder-icon.png
Normal file
BIN
resources/images/folder-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 226 B |
BIN
resources/images/plus-icon.png
Normal file
BIN
resources/images/plus-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 196 B |
@ -142,13 +142,14 @@ class AdvancedBackupEditor:
|
||||
|
||||
while(exitCondition != -1):
|
||||
#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():
|
||||
options.append(aPath)
|
||||
for index in range(0,len(customPaths.getSets())):
|
||||
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
|
||||
exitCondition = self.dialog.select(utils.getString(30125),options)
|
||||
exitCondition = self.dialog.select(utils.getString(30125),options,useDetails=True)
|
||||
|
||||
if(exitCondition >= 0):
|
||||
if(exitCondition == 0):
|
||||
|
Loading…
Reference in New Issue
Block a user