![](https://seccdn.libravatar.org/avatar/2e1a2d7374f0eeb790839676bdd1123a.jpg?s=120&d=mm&r=g)
Author: locilka
Date: Fri Jan 16 13:04:27 2009
New Revision: 54688
URL: http://svn.opensuse.org/viewcvs/yast?rev=54688&view=rev
Log:
- Fixed editing a profile to keep Automatic Backup settings
(bnc #466773).
Modified:
branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes
branches/SuSE-Code-11-Branch/backup/src/Backup.ycp
branches/SuSE-Code-11-Branch/backup/src/ui.ycp
Modified: branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes?rev=54688&r1=54687&r2=54688&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes (original)
+++ branches/SuSE-Code-11-Branch/backup/package/yast2-backup.changes Fri Jan 16 13:04:27 2009
@@ -3,6 +3,8 @@
- Fixed Automatic Backup for profiles with a space character in
the profile name (bnc #466750).
+- Fixed editing a profile to keep Automatic Backup settings
+ (bnc #466773).
- 2.17.5
-------------------------------------------------------------------
Modified: branches/SuSE-Code-11-Branch/backup/src/Backup.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/backup/src/Backup.ycp?rev=54688&r1=54687&r2=54688&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/backup/src/Backup.ycp (original)
+++ branches/SuSE-Code-11-Branch/backup/src/Backup.ycp Fri Jan 16 13:04:27 2009
@@ -251,6 +251,8 @@
map detected_mpoints = nil;
// end of global settings
+map cron_settings = $[];
+
// media description - capacity is maximum file size which fits
// to formatted medium using widely used file system (FAT on floppies)
@@ -1236,9 +1238,10 @@
`nfsexport : nfsexport,
`mail_summary : mail_summary,
`tmp_dir : tmp_dir,
- `target_type : target_type
+ `target_type : target_type,
// `target_device : target_device,
-// `target_devices_options : target_devices_options
+// `target_devices_options : target_devices_options,
+ `cron_settings : cron_settings,
] ;
// add the new profile
@@ -1345,6 +1348,8 @@
selected_profile = profile_name;
+ cron_settings = profile[ `cron_settings ]: $[];
+
return true;
}
@@ -1397,6 +1402,8 @@
backup_files = (map