Mailinglist Archive: yast-commit (503 mails)

< Previous Next >
[yast-commit] r40916 - /trunk/network/src/lan/address.ycp
  • From: kmachalkova@xxxxxxxxxxxxxxxx
  • Date: Fri, 14 Sep 2007 12:10:37 -0000
  • Message-id: <20070914121038.2008335FD6@xxxxxxxxxxxxxxxx>
Author: kmachalkova
Date: Fri Sep 14 14:10:37 2007
New Revision: 40916

URL: http://svn.opensuse.org/viewcvs/yast?rev=40916&view=rev
Log:
indent ++

Modified:
    trunk/network/src/lan/address.ycp

Modified: trunk/network/src/lan/address.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/network/src/lan/address.ycp?rev=40916&r1=40915&r2=40916&view=diff
==============================================================================
--- trunk/network/src/lan/address.ycp (original)
+++ trunk/network/src/lan/address.ycp Fri Sep 14 14:10:37 2007
@@ -797,40 +797,40 @@
 
 
    map<string, any> wd_content = $[
-                "tab_order" : ["t_general", "t_addr", "hardware"],
-                "tabs" : $[
-                    "t_general" : $[
-                        "header" : _("&General"),
-                        "contents" : 
-    `MarginBox (1, 0,
-       `VBox (
-           `MarginBox (1, 0,
-               `VBox(
-                   // TODO:
-                   // "MANDATORY",
-                   `Frame( _("Device Activation"), `HBox(("STARTMODE"), `HStretch())),
-                   `VSpacing(0.4),
-                   `Frame(_("Firewall Zone"), `HBox(("FWZONE"), `HStretch())),
-                   `VSpacing(0.4),
-                   `Frame(_("Device Control"), `HBox(("USERCONTROL"), `HStretch())) ,
-                   `VSpacing (0.4),
-                   `Frame(_("Maximum Transfer Unit (MTU)"), `HBox(("MTU"), `HStretch())),
-                   `VStretch()
-                   )
-               )
-             )
-           ),
+       "tab_order" : ["t_general", "t_addr", "hardware"],
+       "tabs" : $[
+           "t_general" : $[
+               "header" : _("&General"),
+               "contents" : 
+                   `MarginBox (1, 0,
+                       `VBox (
+                           `MarginBox (1, 0,
+                               `VBox(
+                                   // TODO:
+                                   // "MANDATORY",
+                                   `Frame( _("Device Activation"), `HBox(("STARTMODE"), `HStretch())),
+                                   `VSpacing(0.4),
+                                   `Frame(_("Firewall Zone"), `HBox(("FWZONE"), `HStretch())),
+                                   `VSpacing(0.4),
+                                   `Frame(_("Device Control"), `HBox(("USERCONTROL"), `HStretch())) ,
+                                   `VSpacing (0.4),
+                                   `Frame(_("Maximum Transfer Unit (MTU)"), `HBox(("MTU"), `HStretch())),
+                                   `VStretch()
+                                   )
+                               )
+                             )
+                  ),
                         // FIXME we have helps per widget and for the whole
                         // tab set but not for one tab
-                        "help": _("<p>Configure the detailed network card settings here.</p>"),
+                "help": _("<p>Configure the detailed network card settings here.</p>"),
                     ],
-                    "t_addr" : $[
-                        // FIXME: here it does not complain about missing
-                        // shortcuts
-                        "header" : _("&Address"),
-                        "contents" : address_contents,
-                        // Address tab help
-                        "help": _("<p>Configure your IP address.</p>"),
+            "t_addr" : $[
+                // FIXME: here it does not complain about missing
+                // shortcuts
+                "header" : _("&Address"),
+                "contents" : address_contents,
+                // Address tab help
+                "help": _("<p>Configure your IP address.</p>"),
                     ],
                     "hardware" : $[
                         "header" : _("&Hardware"),
@@ -841,12 +841,13 @@
                         "contents" : `Empty (),
                         "widget_names" : [],
                     ]
-                ],
-                "initial_tab" : "t_addr",
-                "widget_descr" : wd,
-                "tab_help" : "",
-                "fallback_functions" : functions,
-            ];
+        ],
+        "initial_tab" : "t_addr",
+        "widget_descr" : wd,
+        "tab_help" : "",
+        "fallback_functions" : functions,
+    ];
+
     hw_standalone=false;
     wd = (map<string, map<string,any> >) union (wd, $[
        "tab" : CWMTab::CreateWidget (wd_content)
@@ -863,9 +864,10 @@
            "abort_button" : Label::CancelButton (),
            "next_button" : Label::NextButton (),
            "fallback_functions" : functions,
-           "disable_buttons" :
-  (LanItems::operation!=`add ||(LanItems::operation==`edit && LanItems::getCurrentItem()["ifcfg"]:""=="")) ? [ "back_button" ] : []
-           ]);
+           "disable_buttons" : (LanItems::operation!=`add || 
+                               (LanItems::operation==`edit && LanItems::getCurrentItem()["ifcfg"]:""=="")) 
+                               ? [ "back_button" ] : []
+        ]);
     Wizard::RestoreAbortButton();
 
     y2milestone ("ShowAndRun: %1", ret);

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

< Previous Next >
This Thread
  • No further messages