diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-22 11:27:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-22 11:45:29 +0100 |
commit | 7c04626ec7b54d8db2ff9bac19df75dd668ad8f7 (patch) | |
tree | 1b63881e46ab5124602544cb6ea04c7ab2cb95bf /starmath/uiconfig/smath | |
parent | 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 (diff) |
adapt code to alignment dialog .ui conversion
Change-Id: I8a64ddc076e177deaa61a450716d7d3dd8043303
Diffstat (limited to 'starmath/uiconfig/smath')
-rw-r--r-- | starmath/uiconfig/smath/ui/alignmentdialog.ui (renamed from starmath/uiconfig/smath/ui/alignment.ui) | 46 |
1 files changed, 32 insertions, 14 deletions
diff --git a/starmath/uiconfig/smath/ui/alignment.ui b/starmath/uiconfig/smath/ui/alignmentdialog.ui index 5e92705cfe51..25ae7dce497a 100644 --- a/starmath/uiconfig/smath/ui/alignment.ui +++ b/starmath/uiconfig/smath/ui/alignmentdialog.ui @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> <!-- interface-requires gtk+ 3.0 --> - <object class="GtkDialog" id="alignment"> + <object class="GtkDialog" id="AlignmentDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> <property name="title" translatable="yes">Alignment</property> @@ -23,7 +23,6 @@ <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> @@ -38,7 +37,6 @@ <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> @@ -53,7 +51,6 @@ <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> @@ -62,6 +59,21 @@ <property name="position">2</property> </packing> </child> + <child> + <object class="GtkButton" id="default"> + <property name="label">_Default</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="image_position">right</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> @@ -74,12 +86,16 @@ <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> @@ -87,17 +103,17 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> - <object class="GtkRadioButton" id="radiobutton1"> + <object class="GtkRadioButton" id="left"> <property name="label" translatable="yes">_Left</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="xalign">0</property> - <property name="active">True</property> <property name="draw_indicator">True</property> + <property name="group">center</property> </object> <packing> <property name="expand">False</property> @@ -106,16 +122,16 @@ </packing> </child> <child> - <object class="GtkRadioButton" id="radiobutton2"> + <object class="GtkRadioButton" id="center"> <property name="label" translatable="yes">_Centered</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="active">True</property> <property name="draw_indicator">True</property> + <property name="group">right</property> </object> <packing> <property name="expand">False</property> @@ -124,16 +140,15 @@ </packing> </child> <child> - <object class="GtkRadioButton" id="radiobutton3"> + <object class="GtkRadioButton" id="right"> <property name="label" translatable="yes">_Right</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="xalign">0</property> - <property name="active">True</property> <property name="draw_indicator">True</property> + <property name="group">left</property> </object> <packing> <property name="expand">False</property> @@ -149,9 +164,11 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes"><b>Horizontal</b></property> - <property name="font">True</property> + <property name="label" translatable="yes">Horizontal</property> <property name="use_underline">True</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> </child> </object> @@ -167,6 +184,7 @@ <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">default</action-widget> </action-widgets> </object> </interface> |