Author: lslezak
Date: Mon Sep 8 16:41:56 2008
New Revision: 50812
URL: http://svn.opensuse.org/viewcvs/yast?rev=50812&view=rev
Log:
- preliminary support for sevices - display a tree on the left side
(does not work yet), print to which service the selected
repository belongs
- 2.17.11
Modified:
trunk/packager/VERSION
trunk/packager/package/yast2-packager.changes
trunk/packager/src/clients/repositories.ycp
trunk/packager/src/include/repositories_include.ycp
Modified: trunk/packager/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/VERSION?rev=50812&r1=50811&r2=50812&view=diff
==============================================================================
--- trunk/packager/VERSION (original)
+++ trunk/packager/VERSION Mon Sep 8 16:41:56 2008
@@ -1 +1 @@
-2.17.10
+2.17.11
Modified: trunk/packager/package/yast2-packager.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=50812&r1=50811&r2=50812&view=diff
==============================================================================
--- trunk/packager/package/yast2-packager.changes (original)
+++ trunk/packager/package/yast2-packager.changes Mon Sep 8 16:41:56 2008
@@ -1,4 +1,12 @@
-------------------------------------------------------------------
+Mon Sep 8 16:36:40 CEST 2008 - lslezak@suse.cz
+
+- preliminary support for sevices - display a tree on the left side
+ (does not work yet), print to which service the selected
+ repository belongs
+- 2.17.11
+
+-------------------------------------------------------------------
Mon Sep 8 13:29:25 CEST 2008 - locilka@suse.cz
- Less confusing Add-On update/installation mode handling
Modified: trunk/packager/src/clients/repositories.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/repositories.ycp?rev=50812&r1=50811&r2=50812&view=diff
==============================================================================
--- trunk/packager/src/clients/repositories.ycp (original)
+++ trunk/packager/src/clients/repositories.ycp Mon Sep 8 16:41:56 2008
@@ -42,9 +42,17 @@
boolean full_mode = false;
+ // cache for textmode value
+ boolean text_mode = nil;
+
boolean textmode()
{
- return Mode::commandline() ? true : UI::GetDisplayInfo()["TextMode"]:false;
+ if (text_mode == nil)
+ {
+ text_mode = Mode::commandline() ? true : UI::GetDisplayInfo()["TextMode"]:false;
+ }
+
+ return text_mode;
}
integer numSources = 0;
@@ -59,6 +67,12 @@
// default (minimal) priority of a repository
const integer default_priority = 99;
+ // current view:
+ // selected service (or empty) if all services are selected
+ string displayed_service = "";
+ // service/repository view flag
+ boolean repository_view = true;
+
void RemoveDeletedAddNewRepos () {
list