Mailinglist Archive: yast-commit (503 mails)

< Previous Next >
[yast-commit] r40757 - in /trunk/squid/src: complex.ycp dialogs.ycp helper_functions.ycp popup_dialogs.ycp
  • From: dfiser@xxxxxxxxxxxxxxxx
  • Date: Wed, 05 Sep 2007 09:41:18 -0000
  • Message-id: <20070905094118.C47D0250D8@xxxxxxxxxxxxxxxx>
Author: dfiser
Date: Wed Sep  5 11:41:18 2007
New Revision: 40757

URL: http://svn.opensuse.org/viewcvs/yast?rev=40757&view=rev
Log:
Changed order of Add, Edit, Del buttons in all widgets.
All checkboxs aligned to left.
Start-Up dialog aligned to top.
All Up and Down buttons aligned to top.

Modified:
    trunk/squid/src/complex.ycp
    trunk/squid/src/dialogs.ycp
    trunk/squid/src/helper_functions.ycp
    trunk/squid/src/popup_dialogs.ycp

Modified: trunk/squid/src/complex.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/squid/src/complex.ycp?rev=40757&r1=40756&r2=40757&view=diff
==============================================================================
--- trunk/squid/src/complex.ycp (original)
+++ trunk/squid/src/complex.ycp Wed Sep  5 11:41:18 2007
@@ -196,11 +196,11 @@
             "widget_names" : ["auto_start", "start_stop"],
             "contents" : `HBox(
                             `HSpacing(3),
-                            `VBox(
+                            `Top(`VBox(
                                 "auto_start",
                                 `VSpacing(),
                                 (Mode::normal() ? "start_stop" : `Empty())
-                            ),
+                            )),
                             `HSpacing(3)
                          ),
             "caption" : main_caption + ": " + _("Start-Up"),

Modified: trunk/squid/src/dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/squid/src/dialogs.ycp?rev=40757&r1=40756&r2=40757&view=diff
==============================================================================
--- trunk/squid/src/dialogs.ycp (original)
+++ trunk/squid/src/dialogs.ycp Wed Sep  5 11:41:18 2007
@@ -43,8 +43,8 @@
                 `Table(`id("http_port"), `opt(`notify), `header(_("Host"), _("Port"), _("Options"))),
                 `HBox(
                     `PushButton(`id(`add), Label::AddButton()),
-                    `PushButton(`id(`del), Label::DeleteButton()),
                     `PushButton(`id(`edit), Label::EditButton()),
+                    `PushButton(`id(`del), Label::DeleteButton()),
                     `HStretch()
                 )
            );
@@ -58,15 +58,15 @@
             `HBox(
                 `Table(`id("refresh_patterns"), `opt(`keepSorting, `notify),
                        `header(_("Regular Expression"), _("Min"), _("Precent"), _("Max")/*, _("Options")*/)),
-                `VBox(
+                `Top(`VBox(
                     `PushButton(`id(`up), Label::UpButton()),
                     `PushButton(`id(`down), Label::DownButton())
-                )
+                ))
             ),
             `HBox(
                 `PushButton(`id(`add), Label::AddButton()),
-                `PushButton(`id(`del), Label::DeleteButton()),
                 `PushButton(`id(`edit), Label::EditButton()),
+                `PushButton(`id(`del), Label::DeleteButton()),
                 `HStretch()
             )
         );
@@ -152,8 +152,8 @@
             `Table(`id("acl"), `opt(`notify), `header(_("Name"), _("Type"), _("Description"))),
             `HBox(
                 `PushButton(`id(`add_acl), Label::AddButton()),
-                `PushButton(`id(`del_acl), Label::DeleteButton()),
                 `PushButton(`id(`edit_acl), Label::EditButton()),
+                `PushButton(`id(`del_acl), Label::DeleteButton()),
                 `HStretch()
             )
         );
@@ -166,15 +166,15 @@
             `Left(`Label(_("Access Control"))),
             `HBox(
                 `Table(`id("http_access"), `opt(`keepSorting, `notify), `header(_("Allow/Deny"), _("ACL Groups"))),
-                `HSquash(`VBox(
+                `HSquash(`Top(`VBox(
                     `HWeight(1, `PushButton(`id(`up_http_access), Label::UpButton())),
                     `HWeight(1, `PushButton(`id(`down_http_access), Label::DownButton()))
-                ))
+                )))
             ),
             `HBox(
                 `PushButton(`id(`add_http_access), Label::AddButton()),
-                `PushButton(`id(`del_http_access), Label::DeleteButton()),
                 `PushButton(`id(`edit_http_access), Label::EditButton()),
+                `PushButton(`id(`del_http_access), Label::DeleteButton()),
                 `HStretch()
             )
         );
@@ -230,7 +230,7 @@
                  `VSpacing(),
                  `TextEntry(`id("cache_mgr"), _("&Administrator's e-mail"), ""),
                  `VSpacing(),
-                 `CheckBox(`id("ftp_passive"), _("&Use Ftp Pasive Mode"))
+                 `Left(`CheckBox(`id("ftp_passive"), _("&Use Ftp Passive Mode")))
         )));
 }
 

Modified: trunk/squid/src/helper_functions.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/squid/src/helper_functions.ycp?rev=40757&r1=40756&r2=40757&view=diff
==============================================================================
--- trunk/squid/src/helper_functions.ycp (original)
+++ trunk/squid/src/helper_functions.ycp Wed Sep  5 11:41:18 2007
@@ -37,7 +37,7 @@
  */
 term sizeUnitWidget(string id)
 {
-    return `ComboBox(`id(id), " ",
+    return `ComboBox(`id(id), _("&Units"),
                 [`item("KB"), `item("MB")]);
 }
 

Modified: trunk/squid/src/popup_dialogs.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/squid/src/popup_dialogs.ycp?rev=40757&r1=40756&r2=40757&view=diff
==============================================================================
--- trunk/squid/src/popup_dialogs.ycp (original)
+++ trunk/squid/src/popup_dialogs.ycp Wed Sep  5 11:41:18 2007
@@ -53,9 +53,7 @@
             `VSpacing(0.5),
             `TextEntry(`id("host"), _("Host"), ""),
             `TextEntry(`id("port"), _("Port"), ""),
-            `Frame(_("Options"),
-                    `CheckBox(`id("transparent"), "Transparent", false)
-            ),
+            `Left(`CheckBox(`id("transparent"), "Transparent", false)),
             `VSpacing(),
             `VStretch(),
             `HBox(

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

< Previous Next >
This Thread
  • No further messages