diff --git a/README.md b/README.md index 9663357..44b5d5d 100644 --- a/README.md +++ b/README.md @@ -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 + + diff --git a/resources/images/folder-icon.png b/resources/images/folder-icon.png new file mode 100644 index 0000000..e2f6dbf Binary files /dev/null and b/resources/images/folder-icon.png differ diff --git a/resources/images/plus-icon.png b/resources/images/plus-icon.png new file mode 100644 index 0000000..0a343a1 Binary files /dev/null and b/resources/images/plus-icon.png differ diff --git a/resources/lib/advanced_editor.py b/resources/lib/advanced_editor.py index cdf099a..8b81eb7 100644 --- a/resources/lib/advanced_editor.py +++ b/resources/lib/advanced_editor.py @@ -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):