diff options
Diffstat (limited to 'panels')
-rw-r--r-- | panels/common/language-chooser.ui | 54 |
1 files changed, 18 insertions, 36 deletions
diff --git a/panels/common/language-chooser.ui b/panels/common/language-chooser.ui index 9dfca242f..c8228bbd9 100644 --- a/panels/common/language-chooser.ui +++ b/panels/common/language-chooser.ui @@ -7,42 +7,24 @@ <property name="destroy_with_parent">True</property> <property name="resizable">False</property> <property name="use_header_bar">1</property> - <child internal-child="headerbar"> - <object class="GtkHeaderBar" id="format-chooser-header-bar"> + <child type="action"> + <object class="GtkButton" id="ok-button"> + <property name="label" translatable="yes">_Done</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="show_close_button">False</property> - <child> - <object class="GtkButton" id="ok-button"> - <property name="label" translatable="yes">_Done</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="valign">center</property> - <style> - <class name="text-button"/> - </style> - </object> - <packing> - <property name="pack_type">end</property> - </packing> - </child> - <child> - <object class="GtkButton" id="cancel-button"> - <property name="label" translatable="yes">_Cancel</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="use_underline">True</property> - <property name="valign">center</property> - <style> - <class name="text-button"/> - </style> - </object> - <packing> - <property name="pack_type">start</property> - </packing> - </child> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + <property name="valign">center</property> + </object> + </child> + <child type="action"> + <object class="GtkButton" id="cancel-button"> + <property name="label" translatable="yes">_Cancel</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_underline">True</property> + <property name="valign">center</property> </object> </child> <child internal-child="vbox"> @@ -89,7 +71,7 @@ </object> </child> <action-widgets> - <action-widget response="-5">ok-button</action-widget> + <action-widget response="-5" default="true">ok-button</action-widget> <action-widget response="-6">cancel-button</action-widget> </action-widgets> </object> |