[Libreoffice-commits] core.git: cui/uiconfig

Adolfo Jayme Barrientos fitojb at ubuntu.com
Fri Oct 17 01:22:06 PDT 2014


 cui/uiconfig/ui/thesaurus.ui |   33 +++++++++++++--------------------
 1 file changed, 13 insertions(+), 20 deletions(-)

New commits:
commit 73703e7fa548b14ed8df175f2867e0d6923e768b
Author: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
Date:   Wed Oct 15 18:11:53 2014 -0500

    fdo#60664 HIG fixes for Thesaurus dialog
    
    * Disable manual resizing
    * Standardize column width to 12
    * Reduce a widget’s size request a little
    * Add missing colons to labels that precede controls (fdo#78826)
    * Unrelated tweaks to the XML are courtesy of Glade.
    
    Change-Id: I6d746b909adebde284e1848417373dd8b06e75fe
    Reviewed-on: https://gerrit.libreoffice.org/11992
    Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
    Tested-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>

diff --git a/cui/uiconfig/ui/thesaurus.ui b/cui/uiconfig/ui/thesaurus.ui
index 2c8f82a..61ea65f 100644
--- a/cui/uiconfig/ui/thesaurus.ui
+++ b/cui/uiconfig/ui/thesaurus.ui
@@ -1,7 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.18.3 -->
 <interface>
-  <!-- interface-requires gtk+ 3.0 -->
-  <!-- interface-requires LibreOffice 1.0 -->
+  <requires lib="gtk+" version="3.0"/>
+  <requires lib="LibreOffice" version="1.0"/>
   <object class="GtkImage" id="image1">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
@@ -11,6 +12,7 @@
     <property name="can_focus">False</property>
     <property name="border_width">6</property>
     <property name="title" translatable="yes">Thesaurus</property>
+    <property name="resizable">False</property>
     <property name="type_hint">dialog</property>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox1">
@@ -33,15 +35,17 @@
                 <property name="expand">False</property>
                 <property name="fill">True</property>
                 <property name="position">0</property>
+                <property name="secondary">True</property>
               </packing>
             </child>
             <child>
               <object class="GtkButton" id="replace">
-                <property name="label" translatable="yes">Replace</property>
+                <property name="label" translatable="yes">_Replace</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="has_default">True</property>
                 <property name="receives_default">True</property>
+                <property name="use_underline">True</property>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -76,13 +80,13 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="row_spacing">6</property>
-            <property name="column_spacing">6</property>
+            <property name="column_spacing">12</property>
             <child>
               <object class="GtkLabel" id="label1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">Current word</property>
+                <property name="label" translatable="yes">Current word:</property>
                 <property name="use_underline">True</property>
                 <property name="mnemonic_widget">wordcb</property>
               </object>
@@ -90,7 +94,6 @@
                 <property name="left_attach">1</property>
                 <property name="top_attach">0</property>
                 <property name="width">2</property>
-                <property name="height">1</property>
               </packing>
             </child>
             <child>
@@ -98,7 +101,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">Alternatives</property>
+                <property name="label" translatable="yes">Alternatives:</property>
                 <property name="use_underline">True</property>
                 <property name="mnemonic_widget">alternatives</property>
               </object>
@@ -106,7 +109,6 @@
                 <property name="left_attach">0</property>
                 <property name="top_attach">2</property>
                 <property name="width">3</property>
-                <property name="height">1</property>
               </packing>
             </child>
             <child>
@@ -114,7 +116,7 @@
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
-                <property name="label" translatable="yes">Replace with</property>
+                <property name="label" translatable="yes">Replace with:</property>
                 <property name="use_underline">True</property>
                 <property name="mnemonic_widget">replaceed</property>
               </object>
@@ -122,7 +124,6 @@
                 <property name="left_attach">0</property>
                 <property name="top_attach">4</property>
                 <property name="width">3</property>
-                <property name="height">1</property>
               </packing>
             </child>
             <child>
@@ -135,7 +136,6 @@
                 <property name="left_attach">0</property>
                 <property name="top_attach">5</property>
                 <property name="width">3</property>
-                <property name="height">1</property>
               </packing>
             </child>
             <child>
@@ -148,8 +148,6 @@
               <packing>
                 <property name="left_attach">1</property>
                 <property name="top_attach">1</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
               </packing>
             </child>
             <child>
@@ -164,8 +162,6 @@
               <packing>
                 <property name="left_attach">0</property>
                 <property name="top_attach">1</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
               </packing>
             </child>
             <child>
@@ -177,14 +173,12 @@
               <packing>
                 <property name="left_attach">2</property>
                 <property name="top_attach">1</property>
-                <property name="width">1</property>
-                <property name="height">1</property>
               </packing>
             </child>
             <child>
               <object class="cuilo-ThesaurusAlternativesCtrl" id="alternatives">
-                <property name="width_request">500</property>
-                <property name="height_request">300</property>
+                <property name="width_request">450</property>
+                <property name="height_request">250</property>
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
               </object>
@@ -192,7 +186,6 @@
                 <property name="left_attach">0</property>
                 <property name="top_attach">3</property>
                 <property name="width">3</property>
-                <property name="height">1</property>
               </packing>
             </child>
             <child>


More information about the Libreoffice-commits mailing list