diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-15 09:50:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-15 09:50:21 +0100 |
commit | a86af5919e19d989ee9344071b1bb13140cb83ef (patch) | |
tree | adaa198af54c9db0ad2382b2308384d8d5170dd3 /sc/uiconfig | |
parent | c54f77b7180b271fecff3737bc391e19f050ec11 (diff) |
attempt at HIG compliance (./bin/lint-ui.py path/to/.ui)
and tweak some strings
Change-Id: Ib5886e8bbb6de653682df36b59aa60d9c39aef30
Diffstat (limited to 'sc/uiconfig')
-rw-r--r-- | sc/uiconfig/scalc/ui/randomnumbergenerator.ui | 125 |
1 files changed, 71 insertions, 54 deletions
diff --git a/sc/uiconfig/scalc/ui/randomnumbergenerator.ui b/sc/uiconfig/scalc/ui/randomnumbergenerator.ui index fa0554054220..25ec1436617e 100644 --- a/sc/uiconfig/scalc/ui/randomnumbergenerator.ui +++ b/sc/uiconfig/scalc/ui/randomnumbergenerator.ui @@ -8,66 +8,15 @@ <property name="step_increment">1</property> <property name="page_increment">10</property> </object> - <object class="GtkListStore" id="distribution-liststore"> - <columns> - <!-- column-name value --> - <column type="gchararray"/> - <!-- column-name id --> - <column type="gint"/> - </columns> - <data> - <row> - <col id="0" translatable="yes">Uniform</col> - <col id="1">0</col> - </row> - <row> - <col id="0" translatable="yes">Uniform Integer</col> - <col id="1">8</col> - </row> - <row> - <col id="0" translatable="yes">Normal</col> - <col id="1">1</col> - </row> - <row> - <col id="0" translatable="yes">Cauchy</col> - <col id="1">2</col> - </row> - <row> - <col id="0" translatable="yes">Bernoulli</col> - <col id="1">3</col> - </row> - <row> - <col id="0" translatable="yes">Binomial</col> - <col id="1">4</col> - </row> - <row> - <col id="0" translatable="yes">Chi Squared</col> - <col id="1">5</col> - </row> - <row> - <col id="0" translatable="yes">Geometric</col> - <col id="1">6</col> - </row> - <row> - <col id="0" translatable="yes">Negative Binomial</col> - <col id="1">7</col> - </row> - </data> - </object> - <object class="GtkAdjustment" id="parameter2-adjustment"> - <property name="upper">100</property> - <property name="step_increment">1</property> - <property name="page_increment">10</property> - </object> <object class="GtkDialog" id="RandomNumberGeneratorDialog"> <property name="can_focus">False</property> - <property name="border_width">5</property> + <property name="border_width">6</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> <property name="orientation">vertical</property> - <property name="spacing">2</property> + <property name="spacing">12</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area1"> <property name="can_focus">False</property> @@ -136,6 +85,7 @@ <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="top_padding">6</property> <property name="left_padding">12</property> <child> <object class="GtkGrid" id="grid1"> @@ -149,6 +99,8 @@ <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes">Cell Range</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">cell-range-edit</property> </object> <packing> <property name="left_attach">0</property> @@ -192,6 +144,8 @@ <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes">Distribution</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">distribution-combo</property> </object> <packing> <property name="left_attach">0</property> @@ -234,6 +188,8 @@ <property name="can_focus">False</property> <property name="xalign">0</property> <property name="label" translatable="yes">Seed</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">seed-spin</property> </object> <packing> <property name="left_attach">0</property> @@ -247,7 +203,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="label_xalign">0</property> - <property name="shadow_type">in</property> + <property name="shadow_type">none</property> <child> <object class="GtkAlignment" id="alignment2"> <property name="visible">True</property> @@ -269,6 +225,8 @@ <property name="hexpand">True</property> <property name="xalign">0</property> <property name="label" translatable="yes">...</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">parameter1-spin</property> </object> <packing> <property name="left_attach">0</property> @@ -284,6 +242,8 @@ <property name="hexpand">True</property> <property name="xalign">0</property> <property name="label" translatable="yes">...</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">parameter2-spin</property> </object> <packing> <property name="left_attach">0</property> @@ -333,6 +293,9 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Parameters</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -368,6 +331,9 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Random Number Generator</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -385,4 +351,55 @@ <action-widget response="0">cancel</action-widget> </action-widgets> </object> + <object class="GtkListStore" id="distribution-liststore"> + <columns> + <!-- column-name value --> + <column type="gchararray"/> + <!-- column-name id --> + <column type="gint"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">Uniform</col> + <col id="1">0</col> + </row> + <row> + <col id="0" translatable="yes">Uniform Integer</col> + <col id="1">8</col> + </row> + <row> + <col id="0" translatable="yes">Normal</col> + <col id="1">1</col> + </row> + <row> + <col id="0" translatable="yes">Cauchy</col> + <col id="1">2</col> + </row> + <row> + <col id="0" translatable="yes">Bernoulli</col> + <col id="1">3</col> + </row> + <row> + <col id="0" translatable="yes">Binomial</col> + <col id="1">4</col> + </row> + <row> + <col id="0" translatable="yes">Chi Squared</col> + <col id="1">5</col> + </row> + <row> + <col id="0" translatable="yes">Geometric</col> + <col id="1">6</col> + </row> + <row> + <col id="0" translatable="yes">Negative Binomial</col> + <col id="1">7</col> + </row> + </data> + </object> + <object class="GtkAdjustment" id="parameter2-adjustment"> + <property name="upper">100</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> </interface> |