public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Wiktor W Brodlo" <wiktor@brodlo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/anaconda:master commit in: ui/
Date: Thu,  7 Jul 2011 17:35:50 +0000 (UTC)	[thread overview]
Message-ID: <d10a675bf22df05ed0dca98590b3ef79161cf67a.wiktor@gentoo> (raw)

commit:     d10a675bf22df05ed0dca98590b3ef79161cf67a
Author:     wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
AuthorDate: Thu Jul  7 17:35:25 2011 +0000
Commit:     Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
CommitDate: Thu Jul  7 17:35:25 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=d10a675b

ui/makeconf.glade: make it better and actually accept values

---
 ui/makeconf.glade |  345 ++++++++++++++++++++++++++---------------------------
 1 files changed, 167 insertions(+), 178 deletions(-)

diff --git a/ui/makeconf.glade b/ui/makeconf.glade
index 10bebd1..898dc22 100644
--- a/ui/makeconf.glade
+++ b/ui/makeconf.glade
@@ -42,94 +42,6 @@
                         <property name="n_rows">3</property>
                         <property name="n_columns">2</property>
                         <child>
-                          <widget class="GtkVPaned" id="vpaned1">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="orientation">vertical</property>
-                            <child>
-                              <widget class="GtkHPaned" id="hpaned5">
-                                <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <child>
-                                  <widget class="GtkLabel" id="label2">
-                                    <property name="visible">True</property>
-                                    <property name="label" translatable="yes">-march=</property>
-                                  </widget>
-                                  <packing>
-                                    <property name="resize">False</property>
-                                    <property name="shrink">True</property>
-                                  </packing>
-                                </child>
-                                <child>
-                                  <widget class="GtkComboBox" id="march">
-                                    <property name="visible">True</property>
-                                  </widget>
-                                  <packing>
-                                    <property name="resize">True</property>
-                                    <property name="shrink">True</property>
-                                  </packing>
-                                </child>
-                              </widget>
-                              <packing>
-                                <property name="resize">False</property>
-                                <property name="shrink">True</property>
-                              </packing>
-                            </child>
-                            <child>
-                              <placeholder/>
-                            </child>
-                          </widget>
-                        </child>
-                        <child>
-                          <widget class="GtkVPaned" id="vpaned2">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="orientation">vertical</property>
-                            <child>
-                              <widget class="GtkHPaned" id="hpaned4">
-                                <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <child>
-                                  <widget class="GtkLabel" id="label3">
-                                    <property name="visible">True</property>
-                                    <property name="label" translatable="yes">-O</property>
-                                  </widget>
-                                  <packing>
-                                    <property name="resize">False</property>
-                                    <property name="shrink">True</property>
-                                  </packing>
-                                </child>
-                                <child>
-                                  <widget class="GtkComboBox" id="opt">
-                                    <property name="visible">True</property>
-                                    <property name="active">2</property>
-                                    <property name="items" translatable="yes">0
-1
-2
-3
-s</property>
-                                  </widget>
-                                  <packing>
-                                    <property name="resize">True</property>
-                                    <property name="shrink">True</property>
-                                  </packing>
-                                </child>
-                              </widget>
-                              <packing>
-                                <property name="resize">False</property>
-                                <property name="shrink">True</property>
-                              </packing>
-                            </child>
-                            <child>
-                              <placeholder/>
-                            </child>
-                          </widget>
-                          <packing>
-                            <property name="top_attach">1</property>
-                            <property name="bottom_attach">2</property>
-                          </packing>
-                        </child>
-                        <child>
                           <widget class="GtkVPaned" id="vpaned3">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
@@ -163,6 +75,8 @@ s</property>
                             <child>
                               <widget class="GtkLabel" id="label4">
                                 <property name="visible">True</property>
+                                <property name="xalign">0</property>
+                                <property name="yalign">0</property>
                                 <property name="label" translatable="yes">Specifies the name of the target architecture.
 &#x201C;native&#x201D; will build binaries optimized for this CPU but they won't run on any other CPU.</property>
                               </widget>
@@ -188,9 +102,11 @@ s</property>
                             <child>
                               <widget class="GtkLabel" id="label5">
                                 <property name="visible">True</property>
+                                <property name="xalign">0</property>
+                                <property name="yalign">0</property>
                                 <property name="label" translatable="yes">Specifies the optimization class.
-Every class has the same optimizations as the one before plus some extras (-Os has all the optimizations of -O2 which don't increase the size of the generated code).
-Don't set -O3 system-wide, it is known to break builds, resulting in unstable code.
+Every class has the same optimizations as the one before plus some extras
+-Os has all the optimizations of -O2 which don't increase the size of the generated code.
 -O2 is recommended.</property>
                               </widget>
                               <packing>
@@ -217,7 +133,10 @@ Don't set -O3 system-wide, it is known to break builds, resulting in unstable co
                             <child>
                               <widget class="GtkLabel" id="label6">
                                 <property name="visible">True</property>
-                                <property name="label" translatable="yes">Increases the speed at which the compilation runs by using pipes instead of temporary files, at the exception of increased memory use.</property>
+                                <property name="xalign">0</property>
+                                <property name="yalign">0</property>
+                                <property name="label" translatable="yes">Increases the speed at which the compilation runs by using pipes instead of temporary files,
+at the cost of increased memory use.</property>
                               </widget>
                               <packing>
                                 <property name="resize">False</property>
@@ -236,6 +155,77 @@ Don't set -O3 system-wide, it is known to break builds, resulting in unstable co
                             <property name="x_padding">5</property>
                           </packing>
                         </child>
+                        <child>
+                          <widget class="GtkTable" id="table3">
+                            <property name="visible">True</property>
+                            <property name="n_rows">2</property>
+                            <property name="n_columns">2</property>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <widget class="GtkComboBox" id="march">
+                                <property name="visible">True</property>
+                                <property name="active">0</property>
+                                <property name="items" translatable="yes">native</property>
+                              </widget>
+                              <packing>
+                                <property name="left_attach">1</property>
+                                <property name="right_attach">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label2">
+                                <property name="visible">True</property>
+                                <property name="xalign">1</property>
+                                <property name="label" translatable="yes">-march=</property>
+                                <property name="justify">right</property>
+                              </widget>
+                            </child>
+                          </widget>
+                        </child>
+                        <child>
+                          <widget class="GtkTable" id="table4">
+                            <property name="visible">True</property>
+                            <property name="n_rows">2</property>
+                            <property name="n_columns">2</property>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <widget class="GtkComboBox" id="opt">
+                                <property name="visible">True</property>
+                                <property name="active">2</property>
+                                <property name="items" translatable="yes">0
+1
+2
+s</property>
+                              </widget>
+                              <packing>
+                                <property name="left_attach">1</property>
+                                <property name="right_attach">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label3">
+                                <property name="visible">True</property>
+                                <property name="xalign">1</property>
+                                <property name="label" translatable="yes">-O</property>
+                                <property name="justify">right</property>
+                              </widget>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="top_attach">1</property>
+                            <property name="bottom_attach">2</property>
+                          </packing>
+                        </child>
                       </widget>
                     </child>
                   </widget>
@@ -273,92 +263,6 @@ Don't set -O3 system-wide, it is known to break builds, resulting in unstable co
                         <property name="n_rows">3</property>
                         <property name="n_columns">2</property>
                         <child>
-                          <widget class="GtkVPaned" id="vpaned4">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="orientation">vertical</property>
-                            <child>
-                              <widget class="GtkHPaned" id="hpaned6">
-                                <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <child>
-                                  <widget class="GtkLabel" id="label8">
-                                    <property name="visible">True</property>
-                                    <property name="label" translatable="yes">-j </property>
-                                  </widget>
-                                  <packing>
-                                    <property name="resize">False</property>
-                                    <property name="shrink">True</property>
-                                  </packing>
-                                </child>
-                                <child>
-                                  <widget class="GtkSpinButton" id="jobs">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="numeric">True</property>
-                                  </widget>
-                                  <packing>
-                                    <property name="resize">True</property>
-                                    <property name="shrink">True</property>
-                                  </packing>
-                                </child>
-                              </widget>
-                              <packing>
-                                <property name="resize">False</property>
-                                <property name="shrink">True</property>
-                              </packing>
-                            </child>
-                            <child>
-                              <placeholder/>
-                            </child>
-                          </widget>
-                        </child>
-                        <child>
-                          <widget class="GtkVPaned" id="vpaned5">
-                            <property name="visible">True</property>
-                            <property name="can_focus">True</property>
-                            <property name="orientation">vertical</property>
-                            <child>
-                              <widget class="GtkHPaned" id="hpaned7">
-                                <property name="visible">True</property>
-                                <property name="can_focus">True</property>
-                                <child>
-                                  <widget class="GtkLabel" id="label9">
-                                    <property name="visible">True</property>
-                                    <property name="label" translatable="yes">-l </property>
-                                  </widget>
-                                  <packing>
-                                    <property name="resize">False</property>
-                                    <property name="shrink">True</property>
-                                  </packing>
-                                </child>
-                                <child>
-                                  <widget class="GtkSpinButton" id="load">
-                                    <property name="visible">True</property>
-                                    <property name="can_focus">True</property>
-                                    <property name="numeric">True</property>
-                                  </widget>
-                                  <packing>
-                                    <property name="resize">True</property>
-                                    <property name="shrink">True</property>
-                                  </packing>
-                                </child>
-                              </widget>
-                              <packing>
-                                <property name="resize">False</property>
-                                <property name="shrink">True</property>
-                              </packing>
-                            </child>
-                            <child>
-                              <placeholder/>
-                            </child>
-                          </widget>
-                          <packing>
-                            <property name="top_attach">1</property>
-                            <property name="bottom_attach">2</property>
-                          </packing>
-                        </child>
-                        <child>
                           <widget class="GtkVPaned" id="vpaned6">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
@@ -392,8 +296,11 @@ Don't set -O3 system-wide, it is known to break builds, resulting in unstable co
                             <child>
                               <widget class="GtkLabel" id="label10">
                                 <property name="visible">True</property>
+                                <property name="xalign">0</property>
+                                <property name="yalign">0</property>
                                 <property name="label" translatable="yes">Allow this many jobs (e.g. parallel compilations) at once; infinite jobs with 0.
-A good choice is the number of CPUs (or CPU cores) in your system plus one, but this guideline isn't always perfect. </property>
+A good choice is the number of CPUs (or CPU cores) in your system plus one,
+but this guideline isn't always perfect. </property>
                               </widget>
                               <packing>
                                 <property name="resize">False</property>
@@ -417,7 +324,10 @@ A good choice is the number of CPUs (or CPU cores) in your system plus one, but
                             <child>
                               <widget class="GtkLabel" id="label11">
                                 <property name="visible">True</property>
+                                <property name="xalign">0</property>
+                                <property name="yalign">0</property>
                                 <property name="label" translatable="yes">Don't start multiple jobs unless load is below this much.
+Zero means ignore load.
 Do not set both -j and -l to zero.</property>
                               </widget>
                               <packing>
@@ -444,6 +354,8 @@ Do not set both -j and -l to zero.</property>
                             <child>
                               <widget class="GtkLabel" id="label12">
                                 <property name="visible">True</property>
+                                <property name="xalign">0</property>
+                                <property name="yalign">0</property>
                                 <property name="label" translatable="yes">Don't echo recipes, resulting in a quieter output (errors will still be printed).</property>
                               </widget>
                               <packing>
@@ -463,6 +375,83 @@ Do not set both -j and -l to zero.</property>
                             <property name="x_padding">5</property>
                           </packing>
                         </child>
+                        <child>
+                          <widget class="GtkTable" id="table5">
+                            <property name="visible">True</property>
+                            <property name="n_rows">2</property>
+                            <property name="n_columns">2</property>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="jobs">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="max_length">2</property>
+                                <property name="width_chars">2</property>
+                                <property name="xalign">1</property>
+                                <property name="adjustment">1 0 99 1 10 10</property>
+                                <property name="snap_to_ticks">True</property>
+                                <property name="numeric">True</property>
+                              </widget>
+                              <packing>
+                                <property name="left_attach">1</property>
+                                <property name="right_attach">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label8">
+                                <property name="visible">True</property>
+                                <property name="xalign">1</property>
+                                <property name="label" translatable="yes">-j</property>
+                                <property name="justify">right</property>
+                              </widget>
+                            </child>
+                          </widget>
+                        </child>
+                        <child>
+                          <widget class="GtkTable" id="table6">
+                            <property name="visible">True</property>
+                            <property name="n_rows">2</property>
+                            <property name="n_columns">2</property>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <placeholder/>
+                            </child>
+                            <child>
+                              <widget class="GtkSpinButton" id="load">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="max_length">2</property>
+                                <property name="width_chars">2</property>
+                                <property name="adjustment">0 0 99 1 10 10</property>
+                                <property name="snap_to_ticks">True</property>
+                                <property name="numeric">True</property>
+                              </widget>
+                              <packing>
+                                <property name="left_attach">1</property>
+                                <property name="right_attach">2</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="GtkLabel" id="label9">
+                                <property name="visible">True</property>
+                                <property name="xalign">1</property>
+                                <property name="label" translatable="yes">-l</property>
+                                <property name="justify">right</property>
+                              </widget>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="top_attach">1</property>
+                            <property name="bottom_attach">2</property>
+                          </packing>
+                        </child>
                       </widget>
                     </child>
                   </widget>



             reply	other threads:[~2011-07-07 17:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 17:35 Wiktor W Brodlo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-08-22  4:28 [gentoo-commits] proj/anaconda:master commit in: ui/ Wiktor W Brodlo
2011-08-03 11:43 Wiktor W Brodlo
2011-07-22 18:17 Wiktor W Brodlo
2011-07-21  0:09 Wiktor W Brodlo
2011-07-20 23:05 Wiktor W Brodlo
2011-07-20 21:09 Wiktor W Brodlo
2011-07-20  1:19 Wiktor W Brodlo
2011-07-07 19:51 Wiktor W Brodlo
2011-07-04 13:07 Wiktor W Brodlo
2011-07-04 10:52 Wiktor W Brodlo
2011-07-04 10:44 Wiktor W Brodlo
2011-07-04 10:26 Wiktor W Brodlo
2011-07-04  9:27 Wiktor W Brodlo
2011-07-03 18:01 Wiktor W Brodlo
2011-07-03 17:34 Wiktor W Brodlo
2011-07-03 17:24 Wiktor W Brodlo
2011-06-30 22:12 Wiktor W Brodlo
2011-06-30  2:32 Wiktor W Brodlo
2011-06-30  2:32 Wiktor W Brodlo
2011-06-30  2:32 Wiktor W Brodlo
2011-06-30  2:32 Wiktor W Brodlo
2011-06-30  2:32 Wiktor W Brodlo
2011-06-30  2:32 Wiktor W Brodlo
2011-06-30  2:32 Wiktor W Brodlo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d10a675bf22df05ed0dca98590b3ef79161cf67a.wiktor@gentoo \
    --to=wiktor@brodlo.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox