Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54591 - in /trunk/backup: package/yast2-backup.changes src/Backup.ycp src/ui.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Tue, 13 Jan 2009 15:04:21 -0000
  • Message-id: <E1LMkoX-0005xT-Um@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Tue Jan 13 16:04:21 2009
New Revision: 54591

URL: http://svn.opensuse.org/viewcvs/yast?rev=54591&view=rev
Log:
- Fixed editing the Ext2 File System Critical Area Backup items
(bnc #465729)
- Changed layout of the Expert Backup Options dialog.


Modified:
trunk/backup/package/yast2-backup.changes
trunk/backup/src/Backup.ycp
trunk/backup/src/ui.ycp

Modified: trunk/backup/package/yast2-backup.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/backup/package/yast2-backup.changes?rev=54591&r1=54590&r2=54591&view=diff
==============================================================================
--- trunk/backup/package/yast2-backup.changes (original)
+++ trunk/backup/package/yast2-backup.changes Tue Jan 13 16:04:21 2009
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Tue Jan 13 15:47:54 CET 2009 - locilka@xxxxxxx
+
+- Fixed editing the Ext2 File System Critical Area Backup items
+ (bnc #465729)
+- Changed layout of the Expert Backup Options dialog.
+
+-------------------------------------------------------------------
Tue Dec 2 13:50:44 CET 2008 - locilka@xxxxxxx

- Using 'lsubstring' instead of 'substring' fur cutting the

Modified: trunk/backup/src/Backup.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/backup/src/Backup.ycp?rev=54591&r1=54590&r2=54591&view=diff
==============================================================================
--- trunk/backup/src/Backup.ycp (original)
+++ trunk/backup/src/Backup.ycp Tue Jan 13 16:04:21 2009
@@ -341,6 +341,8 @@
/* File where configuration is stored */
string configuration_filename = "/var/adm/YaST/backup/profiles";

+string backup_scripts_dir = "/var/adm/YaST/backup/scripts/";
+
/**
* Return capacity of required medium
* @param media Medium descriptions

Modified: trunk/backup/src/ui.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/backup/src/ui.ycp?rev=54591&r1=54590&r2=54591&view=diff
==============================================================================
--- trunk/backup/src/ui.ycp (original)
+++ trunk/backup/src/ui.ycp Tue Jan 13 16:04:21 2009
@@ -1403,8 +1403,8 @@
{
// refresh ext2_backup content
Backup::ext2_backup = maplist(term i,
Backup::ext2_backup, ``{
- list tmp = i[0]:[];
- if (tmp[0]:nil == curr)
+ string tmp = i[0,0]:"";
+ if (tmp == curr)
{
return `item(`id(txt), txt, dir);
}
@@ -1426,8 +1426,8 @@
if (ret == `delete)
{
Backup::ext2_backup = filter(term i, Backup::ext2_backup, ``{
- list tmp = i[0]:[];
- return (tmp[0]:nil != curr);
+ string tmp = i[0,0]:"";
+ return (tmp != curr);
});
UI::ChangeWidget(`id(`par), `Items, Backup::ext2_backup);
}
@@ -3255,18 +3255,21 @@
define symbol ExpertOptionsDialog() ``{
// dialog header
Wizard::SetContents( _("Expert Backup Options"),
- `VBox(
+ `VBox (
`VSpacing(0.5),
// check box label
- `HBox(
- `CheckBox(`id(`system), `opt(`notify), _("Back Up &Hard Disk
System Areas"), Backup::system),
- `HStretch(),
- `PushButton(`id(`set_system), _("&Options..."))
+ `CheckBoxFrame (
+ `id(`system), `opt(`notify), _("Back Up &Hard Disk System
Areas"), Backup::system,
+ `VBox (
+ `HBox (
+ // text entry label
+ `InputField (`id (`tmp), `opt(`hstretch), _("&Temporary
Location of Archive Parts"), Backup::tmp_dir),
+ `HStretch(),
+ `PushButton(`id(`set_system), _("&Options..."))
+ )
+ )
),
- `VSpacing(1.0),
- // text entry label
- `InputField (`id (`tmp), `opt(`hstretch), _("&Temporary Location of
Archive Parts"), Backup::tmp_dir),
- `VSpacing(0.5)
+ `VStretch()
),
expert_options_help(), true, true
);

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages