diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-19 14:47:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-19 15:23:16 +0000 |
commit | 0290ff79eacb02c800976ac13408354624811008 (patch) | |
tree | 597ea01eb36b0a1ca56511ad1d8fd6cc556fd8f3 /sfx2/uiconfig | |
parent | ae4f2c72b7a93085025859cbf1698651831e1b44 (diff) |
convert document properties tabdialog to .ui format
this includes allow us to add tabpages to SfxTabDialogs by name (and getting
back the matching pageid) where the name of a tabpage is the name of the label
widget for the page in the .ui notebook.
Change-Id: I48bfaa9ac8daa443ca72540e2024ddb9df34faa5
Diffstat (limited to 'sfx2/uiconfig')
-rw-r--r-- | sfx2/uiconfig/ui/documentpropertiesdialog.ui (renamed from sfx2/uiconfig/ui/documentproperties.ui) | 196 |
1 files changed, 96 insertions, 100 deletions
diff --git a/sfx2/uiconfig/ui/documentproperties.ui b/sfx2/uiconfig/ui/documentpropertiesdialog.ui index 946e0ae7c568..322429b996d3 100644 --- a/sfx2/uiconfig/ui/documentproperties.ui +++ b/sfx2/uiconfig/ui/documentpropertiesdialog.ui @@ -1,83 +1,107 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> <!-- interface-requires gtk+ 3.0 --> - <object class="GtkWindow" id="window1"> + <object class="GtkDialog" id="DocumentPropertiesDialog"> <property name="can_focus">False</property> - <child> - <object class="GtkBox" id="box1"> - <property name="visible">True</property> + <property name="border_width">5</property> + <property name="title" translatable="yes">Properties of </property> + <property name="type_hint">dialog</property> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> <property name="orientation">vertical</property> - <child> - <object class="GtkNotebook" id="notebook1"> - <property name="visible">True</property> - <property name="can_focus">True</property> + <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area1"> + <property name="can_focus">False</property> + <property name="layout_style">end</property> <child> - <placeholder/> - </child> - <child type="tab"> - <object class="GtkLabel" id="label1"> + <object class="GtkButton" id="ok"> + <property name="label">gtk-ok</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">General </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_action_appearance">False</property> + <property name="use_stock">True</property> </object> <packing> - <property name="tab_fill">False</property> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> </packing> </child> <child> - <placeholder/> - </child> - <child type="tab"> - <object class="GtkLabel" id="label2"> + <object class="GtkButton" id="cancel"> + <property name="label">gtk-cancel</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Description</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_stock">True</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">1</property> - <property name="tab_fill">False</property> </packing> </child> <child> - <placeholder/> - </child> - <child type="tab"> - <object class="GtkLabel" id="label55"> + <object class="GtkButton" id="help"> + <property name="label">gtk-help</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Custom Properties</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_stock">True</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">2</property> - <property name="tab_fill">False</property> </packing> </child> <child> - <placeholder/> - </child> - <child type="tab"> - <object class="GtkLabel" id="label48"> + <object class="GtkButton" id="reset"> + <property name="label" translatable="yes">Reset</property> + <property name="use_action_appearance">False</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Internet </property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> </object> <packing> + <property name="expand">False</property> + <property name="fill">True</property> <property name="position">3</property> - <property name="tab_fill">False</property> </packing> </child> + </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="GtkNotebook" id="tabcontrol"> + <property name="visible">True</property> + <property name="can_focus">True</property> <child> <placeholder/> </child> <child type="tab"> - <object class="GtkLabel" id="label46"> + <object class="GtkLabel" id="general"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Security</property> + <property name="label" translatable="yes">General </property> </object> <packing> - <property name="position">4</property> <property name="tab_fill">False</property> </packing> </child> @@ -85,100 +109,72 @@ <placeholder/> </child> <child type="tab"> - <object class="GtkLabel" id="label3"> + <object class="GtkLabel" id="description"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Statistics</property> + <property name="label" translatable="yes">Description</property> </object> <packing> - <property name="position">5</property> + <property name="position">1</property> <property name="tab_fill">False</property> </packing> </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkButtonBox" id="buttonbox1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="spacing">5</property> - <property name="layout_style">end</property> <child> - <object class="GtkButton" id="ok"> - <property name="label">gtk-ok</property> - <property name="use_action_appearance">False</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> + <placeholder/> </child> - <child> - <object class="GtkButton" id="cancel"> - <property name="label">gtk-cancel</property> - <property name="use_action_appearance">False</property> + <child type="tab"> + <object class="GtkLabel" id="customprops"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_stock">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Custom Properties</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> + <property name="position">2</property> + <property name="tab_fill">False</property> </packing> </child> <child> - <object class="GtkButton" id="help"> - <property name="label">gtk-help</property> - <property name="use_action_appearance">False</property> + <placeholder/> + </child> + <child type="tab"> + <object class="GtkLabel" id="internet"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> - <property name="use_stock">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Internet </property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">2</property> + <property name="position">3</property> + <property name="tab_fill">False</property> </packing> </child> <child> - <object class="GtkButton" id="reset"> - <property name="label" translatable="yes">Reset</property> - <property name="use_action_appearance">False</property> + <placeholder/> + </child> + <child type="tab"> + <object class="GtkLabel" id="security"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Security</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">3</property> + <property name="position">4</property> + <property name="tab_fill">False</property> </packing> </child> </object> <packing> - <property name="expand">False</property> + <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> </child> + <action-widgets> + <action-widget response="0">ok</action-widget> + <action-widget response="0">cancel</action-widget> + <action-widget response="0">help</action-widget> + <action-widget response="0">reset</action-widget> + </action-widgets> </object> </interface> |