Author: kmachalkova
Date: Wed Jul 2 12:11:43 2008
New Revision: 48773
URL: http://svn.opensuse.org/viewcvs/yast?rev=48773&view=rev
Log:
Remove summary
Modified:
trunk/packager/src/clients/webpin_package_search.ycp
Modified: trunk/packager/src/clients/webpin_package_search.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/webpin_package_search.ycp?rev=48773&r1=48772&r2=48773&view=diff
==============================================================================
--- trunk/packager/src/clients/webpin_package_search.ycp (original)
+++ trunk/packager/src/clients/webpin_package_search.ycp Wed Jul 2 12:11:43 2008
@@ -11,11 +11,15 @@
list <map> search_results = [];
map index = $[];
- boolean AbortFunction() {
+ boolean AbortDialog() {
+ return Popup::YesNo( _("All changes will be lost. Really exit?"));
+ }
+
+ boolean Abort() {
any ret = UI::PollInput();
if (ret == `abort)
- return true;
+ return Abort();
else
return false;
}
@@ -90,11 +94,11 @@
);
Progress::NextStage();
- if (AbortFunction()) return `abort;
+ if (Abort()) return `abort;
sleep(100);
Progress::NextStage();
- if (AbortFunction()) return `abort;
+ if (Abort()) return `abort;
sleep(100);
Progress::Finish();
@@ -146,7 +150,11 @@
_("&Found Packages"), []
)
),
- `Left( `Label( _("Package Description")) ),
+ `HBox(
+ `Left( `Label( _("Package Description")) ),
+ `HStretch(),
+ `CheckBox(_("Keep Package Repositories Subscribed"), true)
+ ),
`VWeight(
1,
`RichText(`id("description"), "")
@@ -218,7 +226,6 @@
map aliases = $[
"read" : ``( ReadDialog() ),
"main" : ``( MainDialog() ),
- "summary" : ``(SummaryDialog() ),
// "write" : ``(WriteDialog())
];
@@ -230,12 +237,8 @@
],
"main" : $[
`abort : `abort,
- `next : "summary"
+ `next : `next
],
- "summary" : $[
- `abort : `abort,
- `next : `next//"write"
- ],
// "write" : $[
// `abort : `abort,
// `next : `next
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org