diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-25 20:08:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-26 09:50:50 +0100 |
commit | a455d7888c8921499ab6494b460ea1415c54c89f (patch) | |
tree | da6d3089ef28692a9be5dd5c3cc72d23f4f19d70 /sfx2/uiconfig/ui | |
parent | bd1cac5a9656741ad1b54df1fb740b989b77b78f (diff) |
weld SfxVersionDialog
Change-Id: I0b69192a6eab9dadac892968a4a2d4fa3d9febde
Reviewed-on: https://gerrit.libreoffice.org/64001
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/uiconfig/ui')
-rw-r--r-- | sfx2/uiconfig/ui/versionsofdialog.ui | 176 |
1 files changed, 98 insertions, 78 deletions
diff --git a/sfx2/uiconfig/ui/versionsofdialog.ui b/sfx2/uiconfig/ui/versionsofdialog.ui index 0c6a7311111f..96d81feaa9f7 100644 --- a/sfx2/uiconfig/ui/versionsofdialog.ui +++ b/sfx2/uiconfig/ui/versionsofdialog.ui @@ -1,30 +1,42 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.18.3 --> +<!-- Generated with glade 3.22.1 --> <interface domain="sfx"> <requires lib="gtk+" version="3.18"/> - <requires lib="LibreOffice" version="1.0"/> + <object class="GtkTreeStore" id="liststore3"> + <columns> + <!-- column-name text --> + <column type="gchararray"/> + <!-- column-name text2 --> + <column type="gchararray"/> + <!-- column-name text3 --> + <column type="gchararray"/> + <!-- column-name id --> + <column type="gchararray"/> + </columns> + </object> <object class="GtkDialog" id="VersionsOfDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> - <property name="resizable">False</property> + <property name="modal">True</property> <property name="type_hint">dialog</property> + <child> + <placeholder/> + </child> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> + <property name="orientation">vertical</property> <property name="spacing">12</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area1"> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="layout_style">start</property> + <property name="layout_style">end</property> <child> - <object class="GtkButton" id="close"> - <property name="label">gtk-close</property> + <object class="GtkButton" id="cmis"> + <property name="label" translatable="yes" context="versionsofdialog|cmis">CMIS</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_stock">True</property> </object> <packing> <property name="expand">False</property> @@ -33,11 +45,12 @@ </packing> </child> <child> - <object class="GtkButton" id="open"> - <property name="label">gtk-open</property> + <object class="GtkButton" id="delete"> + <property name="label">gtk-delete</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_underline">True</property> <property name="use_stock">True</property> </object> <packing> @@ -47,8 +60,8 @@ </packing> </child> <child> - <object class="GtkButton" id="show"> - <property name="label" translatable="yes" context="versionsofdialog|show">_Show...</property> + <object class="GtkButton" id="compare"> + <property name="label" translatable="yes" context="versionsofdialog|compare">_Compare</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -61,13 +74,12 @@ </packing> </child> <child> - <object class="GtkButton" id="delete"> - <property name="label">gtk-delete</property> + <object class="GtkButton" id="show"> + <property name="label" translatable="yes" context="versionsofdialog|show">_Show...</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="use_underline">True</property> - <property name="use_stock">True</property> </object> <packing> <property name="expand">False</property> @@ -76,12 +88,14 @@ </packing> </child> <child> - <object class="GtkButton" id="compare"> - <property name="label" translatable="yes" context="versionsofdialog|compare">_Compare</property> + <object class="GtkButton" id="close"> + <property name="label">gtk-close</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> <property name="receives_default">True</property> - <property name="use_underline">True</property> + <property name="use_stock">True</property> </object> <packing> <property name="expand">False</property> @@ -90,11 +104,12 @@ </packing> </child> <child> - <object class="GtkButton" id="cmis"> - <property name="label" translatable="yes" context="versionsofdialog|cmis">CMIS</property> + <object class="GtkButton" id="open"> + <property name="label">gtk-open</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_stock">True</property> </object> <packing> <property name="expand">False</property> @@ -221,47 +236,67 @@ <property name="hexpand">True</property> <property name="vexpand">True</property> <child> - <object class="GtkBox" id="box1"> + <object class="GtkScrolledWindow"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can_focus">True</property> <property name="hexpand">True</property> - <property name="spacing">12</property> - <property name="homogeneous">True</property> - <child> - <object class="GtkLabel" id="datetime"> - <property name="can_focus">False</property> - <property name="no_show_all">True</property> - <property name="label" translatable="yes" context="versionsofdialog|datetime">Date and time</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="savedby"> - <property name="can_focus">False</property> - <property name="no_show_all">True</property> - <property name="label" translatable="yes" context="versionsofdialog|savedby">Saved by</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> + <property name="vexpand">True</property> + <property name="shadow_type">in</property> <child> - <object class="GtkLabel" id="comments"> - <property name="can_focus">False</property> - <property name="no_show_all">True</property> - <property name="label" translatable="yes" context="versionsofdialog|comments">Comments</property> + <object class="GtkTreeView" id="versions"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="model">liststore3</property> + <property name="rules_hint">True</property> + <property name="headers_visible">True</property> + <property name="search_column">0</property> + <property name="show_expanders">False</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="versions-selection2"/> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn1"> + <property name="resizable">True</property> + <property name="spacing">6</property> + <property name="title" translatable="yes" context="versionsofdialog|datetime">Date and time</property> + <child> + <object class="GtkCellRendererText" id="cellrenderer1"/> + <attributes> + <attribute name="text">0</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn2"> + <property name="resizable">True</property> + <property name="spacing">6</property> + <property name="title" translatable="yes" context="versionsofdialog|savedby">Saved by</property> + <child> + <object class="GtkCellRendererText" id="cellrenderer2"/> + <attributes> + <attribute name="text">1</attribute> + </attributes> + </child> + </object> + </child> + <child> + <object class="GtkTreeViewColumn" id="treeviewcolumn3"> + <property name="resizable">True</property> + <property name="spacing">6</property> + <property name="title" translatable="yes" context="versionsofdialog|comments">Comments</property> + <child> + <object class="GtkCellRendererText" id="cellrenderer3"/> + <attributes> + <attribute name="text">2</attribute> + </attributes> + </child> + </object> + </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">2</property> - </packing> </child> </object> <packing> @@ -269,21 +304,6 @@ <property name="top_attach">0</property> </packing> </child> - <child> - <object class="svtlo-SvSimpleTableContainer" id="versions"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> - <child internal-child="selection"> - <object class="GtkTreeSelection" id="Simple Table Container-selection1"/> - </child> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - </packing> - </child> </object> </child> </object> @@ -314,12 +334,12 @@ </object> </child> <action-widgets> + <action-widget response="104">cmis</action-widget> + <action-widget response="103">delete</action-widget> + <action-widget response="102">compare</action-widget> + <action-widget response="101">show</action-widget> <action-widget response="-7">close</action-widget> - <action-widget response="0">open</action-widget> - <action-widget response="0">show</action-widget> - <action-widget response="0">delete</action-widget> - <action-widget response="0">compare</action-widget> - <action-widget response="0">cmis</action-widget> + <action-widget response="-5">open</action-widget> <action-widget response="-11">help</action-widget> </action-widgets> </object> |