diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-09 16:06:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-09 16:54:15 +0000 |
commit | f5a8fa8b54e0a4a70d7439a054868d5bbdfd593b (patch) | |
tree | ead83453fbe4d17a0b54f41d652b711061871f33 /sw/uiconfig | |
parent | b6fbc8642928893ca608a35b802032cfe42e40bb (diff) |
adapt code to Exchange Databases dialog
Change-Id: Ife2d92131f7cd758628ae686cde734dab56e4499
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/exchangedatabases.ui | 224 |
1 files changed, 103 insertions, 121 deletions
diff --git a/sw/uiconfig/swriter/ui/exchangedatabases.ui b/sw/uiconfig/swriter/ui/exchangedatabases.ui index 0337480c20f1..eb76a9f17b03 100644 --- a/sw/uiconfig/swriter/ui/exchangedatabases.ui +++ b/sw/uiconfig/swriter/ui/exchangedatabases.ui @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> <!-- interface-requires gtk+ 3.0 --> - <object class="GtkAction" id="action1"/> - <object class="GtkDialog" id="Exchange Databases"> + <object class="GtkDialog" id="ExchangeDatabasesDialog"> <property name="can_focus">False</property> <property name="border_width">5</property> <property name="title" translatable="yes">Exchange Databases</property> @@ -17,12 +16,12 @@ <property name="orientation">vertical</property> <property name="layout_style">start</property> <child> - <object class="GtkButton" id="button1"> + <object class="GtkButton" id="define"> <property name="label" translatable="yes">Define</property> - <property name="use_action_appearance">False</property> - <property name="related_action">action1</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> </object> <packing> @@ -34,8 +33,6 @@ <child> <object class="GtkButton" id="close"> <property name="label">gtk-close</property> - <property name="use_action_appearance">False</property> - <property name="related_action">action1</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -50,8 +47,6 @@ <child> <object class="GtkButton" id="help"> <property name="label">gtk-help</property> - <property name="use_action_appearance">False</property> - <property name="related_action">action1</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -76,130 +71,128 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> - <property name="spacing">6</property> + <property name="spacing">12</property> <child> <object class="GtkFrame" id="frame1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> <property name="label_xalign">0</property> <property name="shadow_type">none</property> <child> <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="top_padding">6</property> <property name="left_padding">12</property> <child> - <object class="GtkBox" id="box3"> + <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <property name="spacing">6</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <property name="column_homogeneous">True</property> <child> - <object class="GtkGrid" id="grid1"> + <object class="GtkLabel" id="label5"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="row_spacing">6</property> - <property name="column_spacing">6</property> - <property name="column_homogeneous">True</property> - <child> - <object class="GtkLabel" id="label5"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Databases in Use</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label6"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">_Availabe Databases</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkScrolledWindow" id="scrolledwindow1"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="shadow_type">in</property> - <child> - <placeholder/> - </child> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkScrolledWindow" id="scrolledwindow2"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="shadow_type">in</property> - <child> - <placeholder/> - </child> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkButton" id="button4"> - <property name="label" translatable="yes">_Browse...</property> - <property name="use_action_appearance">False</property> - <property name="related_action">action1</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">2</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <placeholder/> - </child> + <property name="xalign">0</property> + <property name="label" translatable="yes">Databases in Use</property> + <property name="use_underline">True</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Available Databases</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="browse"> + <property name="label" translatable="yes">Browse...</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</property> </packing> </child> <child> <object class="GtkLabel" id="label7"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Use this dialog to replace the databases you access in your document via. -database fields, with other databases. You can only make one change at a time. -Multiple selection is possible in the list on the left. + <property name="margin_top">12</property> + <property name="margin_bottom">12</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Use this dialog to replace the databases you access in your document via database fields, with other databases. You can only make one change at a time. Multiple selection is possible in the list on the left. Use the browse button to select a database file.</property> + <property name="wrap">True</property> + <property name="max_width_chars">72</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + <property name="width">2</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="svtlo:SvTreeListBox" id="inuselb"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> </packing> </child> + <child> + <object class="swuilo:SwDBTreeList" id="availablelb"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <placeholder/> + </child> </object> </child> </object> @@ -208,7 +201,7 @@ Use the browse button to select a database file.</property> <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Exchange Database</property> + <property name="label" translatable="yes">Exchange databases</property> <attributes> <attribute name="weight" value="bold"/> </attributes> @@ -216,7 +209,7 @@ Use the browse button to select a database file.</property> </child> </object> <packing> - <property name="expand">False</property> + <property name="expand">True</property> <property name="fill">True</property> <property name="position">0</property> </packing> @@ -225,7 +218,7 @@ Use the browse button to select a database file.</property> <object class="GtkBox" id="box2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="spacing">20</property> + <property name="spacing">12</property> <child> <object class="GtkLabel" id="label2"> <property name="visible">True</property> @@ -239,9 +232,10 @@ Use the browse button to select a database file.</property> </packing> </child> <child> - <object class="GtkLabel" id="label3"> + <object class="GtkLabel" id="dbnameft"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="label">DataSource.Command</property> </object> <packing> <property name="expand">False</property> @@ -249,18 +243,6 @@ Use the browse button to select a database file.</property> <property name="position">1</property> </packing> </child> - <child> - <object class="GtkLabel" id="label4"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">.</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">2</property> - </packing> - </child> </object> <packing> <property name="expand">False</property> @@ -270,7 +252,7 @@ Use the browse button to select a database file.</property> </child> </object> <packing> - <property name="expand">False</property> + <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> @@ -278,7 +260,7 @@ Use the browse button to select a database file.</property> </object> </child> <action-widgets> - <action-widget response="0">button1</action-widget> + <action-widget response="0">define</action-widget> <action-widget response="0">close</action-widget> <action-widget response="0">help</action-widget> </action-widgets> |