Permalink
Browse files

- adapted to new Mode:: API

- version 2.11.1

svn path=/trunk/sysconfig/; revision=19971
  • Loading branch information...
1 parent 3c22d44 commit 7e852989bd4671d0e128661032dabd6be3a57250 @lslezak lslezak committed Oct 27, 2004
View
@@ -1 +1 @@
-2.11.0
+2.11.1
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Wed Oct 27 09:07:43 CEST 2004 - lslezak@suse.cz
+
+- adapted to new Mode:: API
+- version 2.11.1
+
-------------------------------------------------------------------
Mon Oct 18 16:22:49 CEST 2004 - lslezak@suse.cz
View
@@ -831,7 +831,7 @@ and runs low-level configuration tools so your configuration in sysconfig takes
// help rich text displayed after module start (2/2)
_("<P><B>Note:</B> Descriptions are not translated because thay are read directly from configuration files.</P>")),
// push button label - displayed only in autoinstallation config mode
- (Mode::config == true) ? `HBox(`PushButton(`id(`use_current), _("&Use Current Value")),
+ (Mode::config() == true) ? `HBox(`PushButton(`id(`use_current), _("&Use Current Value")),
// push button label - displayed only in autoinstallation config mode
`PushButton(`id(`add_new), `opt(`key_F3), _("&Add New Variable..."))
) : `Empty()
View
@@ -54,7 +54,7 @@ include "sysconfig/dialogs.ycp";
Wizard::SetDesktopIcon(Sysconfig::powertweak_mode ? "powertweak" : "sysconfig");
// initialization
- if (Mode::config && !Sysconfig::Modified() && (Sysconfig::tree_content == nil || size(Sysconfig::tree_content) == 0))
+ if (Mode::config() && !Sysconfig::Modified() && (Sysconfig::tree_content == nil || size(Sysconfig::tree_content) == 0))
{
Sysconfig::Read();
}
@@ -12,10 +12,6 @@
import "Testsuite";
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
-
import "Sysconfig";
Testsuite::Test( ``(Sysconfig::Set(nil) ), [ $[], $[], $[] ], nil );
@@ -10,11 +10,7 @@
{
import "Testsuite";
-
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
import "Sysconfig";
Testsuite::Test( ``(Sysconfig::Set([ $[ "sysconfig_key" : "VARIABLE",
@@ -10,11 +10,7 @@
{
import "Testsuite";
-
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
import "Sysconfig";
Testsuite::Test( ``(Sysconfig::get_file_from_id(nil) ), [ $[], $[], $[] ], nil );
@@ -10,11 +10,7 @@
{
import "Testsuite";
-
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
import "Sysconfig";
Testsuite::Test( ``(Sysconfig::get_metadata(nil) ), [ $[], $[], $[] ], nil );
@@ -10,11 +10,7 @@
{
import "Testsuite";
-
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
import "Sysconfig";
Testsuite::Test( ``(Sysconfig::get_name_from_id(nil) ), [ $[], $[], $[] ], nil );
@@ -10,11 +10,7 @@
{
import "Testsuite";
-
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
import "Sysconfig";
// Note: Testsuite::Dump is used instead of Testsuite::Test, because it supports multiline
@@ -10,11 +10,7 @@
{
import "Testsuite";
-
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
import "Sysconfig";
Testsuite::Test( ``(Sysconfig::parse_metadata(nil) ), [ $[], $[], $[] ], nil );
@@ -10,11 +10,7 @@
{
import "Testsuite";
-
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
import "Sysconfig";
Testsuite::Test( ``(Sysconfig::remove_whitespaces(nil) ), [ $[], $[], $[] ], nil );
@@ -10,11 +10,7 @@
{
import "Testsuite";
-
import "Pkg"; // override packamanager
-
-import "Mode"; // mode is imported in Product
-Mode::config = true; // package manager is initialized in Product constructor when Mode::config is false !!
import "Sysconfig";
Testsuite::Dump("Testing data type validation");

0 comments on commit 7e85298

Please sign in to comment.