diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2019-09-05 11:01:52 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2019-09-06 13:59:18 +0200 |
commit | 9b021e87e04f4ab294d8cefb5d54bfe29e1e85dd (patch) | |
tree | 3385622bd3912466dc7d832c16caf0b85545285b /vcl/uiconfig | |
parent | 9f6d1d5c4c75c51f36815178507e336c504025fb (diff) |
Resolves tdf#125130 - UI: Show 'Go to first/last page' in new print dialog
Buttons added
gtk-media* replaced by gtk-go*
Change-Id: I274bccb747d6f5e899e826ee8bebf3c1127e6374
Reviewed-on: https://gerrit.libreoffice.org/78635
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'vcl/uiconfig')
-rw-r--r-- | vcl/uiconfig/ui/printdialog.ui | 60 |
1 files changed, 50 insertions, 10 deletions
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui index bdcf861f83bd..a1ddf06e5c5d 100644 --- a/vcl/uiconfig/ui/printdialog.ui +++ b/vcl/uiconfig/ui/printdialog.ui @@ -17,18 +17,28 @@ <property name="step_increment">1</property> <property name="page_increment">10</property> </object> - <object class="GtkImage" id="image1"> + <object class="GtkImage" id="imgBack"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="stock">gtk-media-previous</property> + <property name="stock">gtk-go-back</property> <property name="icon_size">1</property> </object> - <object class="GtkImage" id="image2"> + <object class="GtkImage" id="imgFirst"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="stock">gtk-media-next</property> + <property name="stock">gtk-goto-first</property> + </object> + <object class="GtkImage" id="imgForward"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="stock">gtk-go-forward</property> <property name="icon_size">1</property> </object> + <object class="GtkImage" id="imgLast"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="stock">gtk-goto-last</property> + </object> <object class="GtkListStore" id="liststore1"> <columns> <!-- column-name gchararray --> @@ -255,18 +265,33 @@ <property name="margin_right">10</property> <property name="spacing">6</property> <child> + <object class="GtkButton" id="btnLast"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes" context="printdialog|lastpage">Last page</property> + <property name="image">imgLast</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + <child> <object class="GtkButton" id="forward"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="printdialog|forward">Next page</property> - <property name="image">image2</property> + <property name="image">imgForward</property> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="pack_type">end</property> - <property name="position">0</property> + <property name="position">1</property> </packing> </child> <child> @@ -279,7 +304,7 @@ <property name="expand">False</property> <property name="fill">True</property> <property name="pack_type">end</property> - <property name="position">1</property> + <property name="position">2</property> </packing> </child> <child> @@ -291,7 +316,7 @@ <property name="expand">False</property> <property name="fill">True</property> <property name="pack_type">end</property> - <property name="position">2</property> + <property name="position">3</property> </packing> </child> <child> @@ -300,13 +325,28 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="printdialog|backward">Previous page</property> - <property name="image">image1</property> + <property name="image">imgBack</property> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="pack_type">end</property> - <property name="position">3</property> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkButton" id="btnFirst"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="tooltip_text" translatable="yes" context="printdialog|firstpage">First page</property> + <property name="image">imgFirst</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="pack_type">end</property> + <property name="position">5</property> </packing> </child> </object> |