diff --git a/changelog.txt b/changelog.txt index 920a7bd..34dea4e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Version 1.0.5 added google drive support make compression setting compatible with python 2.6 and above +added settings dialog option - thanks ed_davidson Version 1.0.4 diff --git a/default.py b/default.py index a682c8a..7a3f43d 100644 --- a/default.py +++ b/default.py @@ -29,14 +29,18 @@ if("mode" in params): #if mode wasn't passed in as arg, get from user if(mode == -1): #figure out if this is a backup or a restore from the user - mode = xbmcgui.Dialog().select(utils.getString(30010) + " - " + utils.getString(30023),[utils.getString(30016),utils.getString(30017)]) + mode = xbmcgui.Dialog().select(utils.getString(30010) + " - " + utils.getString(30023),[utils.getString(30016),utils.getString(30017),utils.getString(30099)]) #check if program should be run if(mode != -1): #run the profile backup backup = XbmcBackup() - if(backup.remoteConfigured()): + if(mode == 2): + #open the settings dialog + utils.openSettings() + + elif(backup.remoteConfigured()): if(mode == backup.Restore): #get list of valid restore points diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 211588a..8b925c4 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -90,4 +90,5 @@ Old Zip Archive could not be deleted This needs to happen before a backup can run Google Drive + Open Settings