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

Caolán McNamara caolanm at redhat.com
Mon Mar 31 05:09:51 PDT 2014


 vcl/uiconfig/ui/printerdevicepage.ui |   84 ++++++++++++++++++-----------------
 1 file changed, 45 insertions(+), 39 deletions(-)

New commits:
commit 93657bdb7b0f20cb2d868bac024a0f042a9a90cb
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Mar 31 12:49:44 2014 +0100

    add mnemonic widgets
    
    Change-Id: I0646927ea73b4bb69bd912d3cc5dfbdafad53aa4

diff --git a/vcl/uiconfig/ui/printerdevicepage.ui b/vcl/uiconfig/ui/printerdevicepage.ui
index 45dc0958..2102d6d 100644
--- a/vcl/uiconfig/ui/printerdevicepage.ui
+++ b/vcl/uiconfig/ui/printerdevicepage.ui
@@ -1,6 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.16.1 -->
 <interface>
-  <!-- interface-requires gtk+ 3.0 -->
+  <requires lib="gtk+" version="3.0"/>
+  <object class="GtkListStore" id="liststore1">
+    <columns>
+      <!-- column-name gchararray1 -->
+      <column type="gchararray"/>
+      <!-- column-name gint1 -->
+      <column type="gint"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes">Automatic : %s</col>
+        <col id="1">0</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">PostScript (Level from driver)</col>
+        <col id="1">1</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">PostScript Level 1</col>
+        <col id="1">2</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">PostScript Level 2</col>
+        <col id="1">3</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">PostScript Level 3</col>
+        <col id="1">4</col>
+      </row>
+      <row>
+        <col id="0" translatable="yes">PDF</col>
+        <col id="1">10</col>
+      </row>
+    </data>
+  </object>
   <object class="GtkGrid" id="PrinterDevicePage">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
@@ -17,6 +52,7 @@
         <property name="xalign">0</property>
         <property name="label" translatable="yes">_Option</property>
         <property name="use_underline">True</property>
+        <property name="mnemonic_widget">options:border</property>
         <attributes>
           <attribute name="weight" value="bold"/>
         </attributes>
@@ -35,6 +71,7 @@
         <property name="xalign">0</property>
         <property name="label" translatable="yes">Current _value</property>
         <property name="use_underline">True</property>
+        <property name="mnemonic_widget">values:border</property>
         <attributes>
           <attribute name="weight" value="bold"/>
         </attributes>
@@ -53,6 +90,7 @@
         <property name="xalign">0</property>
         <property name="label" translatable="yes">Printer _Language type</property>
         <property name="use_underline">True</property>
+        <property name="mnemonic_widget">level</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
@@ -68,6 +106,7 @@
         <property name="xalign">0</property>
         <property name="label" translatable="yes">_Color</property>
         <property name="use_underline">True</property>
+        <property name="mnemonic_widget">colorspace</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
@@ -83,6 +122,7 @@
         <property name="xalign">0</property>
         <property name="label" translatable="yes">Color _depth</property>
         <property name="use_underline">True</property>
+        <property name="mnemonic_widget">colordepth</property>
       </object>
       <packing>
         <property name="left_attach">0</property>
@@ -95,8 +135,6 @@
       <object class="GtkComboBoxText" id="colorspace">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="entry_text_column">0</property>
-        <property name="id_column">1</property>
         <items>
           <item translatable="yes">From driver</item>
           <item translatable="yes">Color</item>
@@ -114,8 +152,6 @@
       <object class="GtkComboBoxText" id="colordepth">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="entry_text_column">0</property>
-        <property name="id_column">1</property>
         <items>
           <item translatable="yes">8 Bit</item>
           <item translatable="yes">24 Bit</item>
@@ -145,6 +181,8 @@
       <object class="GtkTreeView" id="options:border">
         <property name="visible">True</property>
         <property name="can_focus">True</property>
+        <property name="hexpand">True</property>
+        <property name="vexpand">True</property>
         <child internal-child="selection">
           <object class="GtkTreeSelection" id="treeview-selection1"/>
         </child>
@@ -160,6 +198,8 @@
       <object class="GtkTreeView" id="values:border">
         <property name="visible">True</property>
         <property name="can_focus">True</property>
+        <property name="hexpand">True</property>
+        <property name="vexpand">True</property>
         <child internal-child="selection">
           <object class="GtkTreeSelection" id="treeview-selection2"/>
         </child>
@@ -172,38 +212,4 @@
       </packing>
     </child>
   </object>
-  <object class="GtkListStore" id="liststore1">
-    <columns>
-      <!-- column-name gchararray1 -->
-      <column type="gchararray"/>
-      <!-- column-name gint1 -->
-      <column type="gint"/>
-    </columns>
-    <data>
-      <row>
-        <col id="0" translatable="yes">Automatic : %s</col>
-        <col id="1">0</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes">PostScript (Level from driver)</col>
-        <col id="1">1</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes">PostScript Level 1</col>
-        <col id="1">2</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes">PostScript Level 2</col>
-        <col id="1">3</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes">PostScript Level 3</col>
-        <col id="1">4</col>
-      </row>
-      <row>
-        <col id="0" translatable="yes">PDF</col>
-        <col id="1">10</col>
-      </row>
-    </data>
-  </object>
 </interface>


More information about the Libreoffice-commits mailing list