diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-18 21:06:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-04-19 09:53:55 +0200 |
commit | cc7cb945846e5b476de917bb90976a4fca175ad1 (patch) | |
tree | d50e5a6bb05f1f4dfa0c4b85360ea21e13cd8452 /svx/uiconfig | |
parent | 8c9c1b852ce0ebc6bd19437e9e583ef4226cf685 (diff) |
weld CompressGraphicsDialog
Change-Id: I593e6f0fe2e002c75ecd367a38dda96e7e6552f9
Reviewed-on: https://gerrit.libreoffice.org/53125
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/uiconfig')
-rw-r--r-- | svx/uiconfig/ui/compressgraphicdialog.ui | 53 |
1 files changed, 24 insertions, 29 deletions
diff --git a/svx/uiconfig/ui/compressgraphicdialog.ui b/svx/uiconfig/ui/compressgraphicdialog.ui index 0f4a81af5190..14dd0a1c7bb5 100644 --- a/svx/uiconfig/ui/compressgraphicdialog.ui +++ b/svx/uiconfig/ui/compressgraphicdialog.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.20.0 --> +<!-- Generated with glade 3.20.4 --> <interface domain="svx"> <requires lib="gtk+" version="3.18"/> <object class="GtkAdjustment" id="compression-adjustment"> @@ -16,26 +16,6 @@ <property name="step_increment">100</property> <property name="page_increment">100</property> </object> - <object class="GtkListStore" id="interpolation-method-store"> - <columns> - <!-- column-name scale-method-name --> - <column type="gchararray"/> - </columns> - <data> - <row> - <col id="0" translatable="yes" context="compressgraphicdialog|interpolation-method-store">None</col> - </row> - <row> - <col id="0" translatable="yes" context="compressgraphicdialog|interpolation-method-store">Bilinear</col> - </row> - <row> - <col id="0" translatable="yes" context="compressgraphicdialog|interpolation-method-store">Bicubic</col> - </row> - <row> - <col id="0" translatable="yes" context="compressgraphicdialog|interpolation-method-store">Lanczos</col> - </row> - </data> - </object> <object class="GtkAdjustment" id="quality-adjustment"> <property name="lower">1</property> <property name="upper">99</property> @@ -56,6 +36,8 @@ <property name="title" translatable="yes" context="compressgraphicdialog|CompressGraphicDialog">Compress Image</property> <property name="resizable">False</property> <property name="modal">True</property> + <property name="default_width">0</property> + <property name="default_height">9</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -151,8 +133,8 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="use_underline">True</property> <property name="tooltip_text" translatable="yes" context="compressgraphicdialog|radio-jpeg|tooltip_text">Lossy compression</property> + <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> <property name="group">radio-lossless</property> @@ -168,8 +150,8 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="use_underline">True</property> <property name="tooltip_text" translatable="yes" context="compressgraphicdialog|radio-lossless|tooltip_text">Lossless compression</property> + <property name="use_underline">True</property> <property name="xalign">0</property> <property name="active">True</property> <property name="draw_indicator">True</property> @@ -209,7 +191,8 @@ <object class="GtkSpinButton" id="spin-quality"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="text" translatable="no">90</property> + <property name="activates_default">True</property> + <property name="text">90</property> <property name="adjustment">quality-adjustment</property> <property name="numeric">True</property> <property name="value">90</property> @@ -256,7 +239,8 @@ <object class="GtkSpinButton" id="spin-compression"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="text" translatable="no">9</property> + <property name="activates_default">True</property> + <property name="text">9</property> <property name="adjustment">compression-adjustment</property> <property name="numeric">True</property> <property name="value">9</property> @@ -393,7 +377,8 @@ <object class="GtkSpinButton" id="spin-new-width"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="text" translatable="no">1</property> + <property name="activates_default">True</property> + <property name="text">1</property> <property name="adjustment">width-adjustment</property> <property name="numeric">True</property> <property name="value">1</property> @@ -407,7 +392,8 @@ <object class="GtkSpinButton" id="spin-new-height"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="text" translatable="no">1</property> + <property name="activates_default">True</property> + <property name="text">1</property> <property name="adjustment">height-adjustment</property> <property name="numeric">True</property> <property name="value">1</property> @@ -434,6 +420,7 @@ <child internal-child="entry"> <object class="GtkEntry"> <property name="can_focus">True</property> + <property name="activates_default">True</property> </object> </child> </object> @@ -443,10 +430,15 @@ </packing> </child> <child> - <object class="GtkComboBox" id="interpolation-method-combo"> + <object class="GtkComboBoxText" id="interpolation-method-combo"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="model">interpolation-method-store</property> + <items> + <item translatable="yes" context="compressgraphicdialog|interpolation-method-store">None</item> + <item translatable="yes" context="compressgraphicdialog|interpolation-method-store">Bilinear</item> + <item translatable="yes" context="compressgraphicdialog|interpolation-method-store">Bicubic</item> + <item translatable="yes" context="compressgraphicdialog|interpolation-method-store">Lanczos</item> + </items> </object> <packing> <property name="left_attach">1</property> @@ -693,5 +685,8 @@ <action-widget response="-5">ok</action-widget> <action-widget response="-6">cancel</action-widget> </action-widgets> + <child> + <placeholder/> + </child> </object> </interface> |