summaryrefslogtreecommitdiff
path: root/panels/common
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-10-16 17:14:49 +0200
committerBastien Nocera <hadess@hadess.net>2014-10-17 12:19:41 +0200
commit633af27f2d17dc2ae3a8649bae8f6efe74da7347 (patch)
treef54bcf041b459861cb042f2289c6b7c3930521cf /panels/common
parent212a4e9b6ecfd9c2b07e5924383cf5e1062384b2 (diff)
downloadgnome-control-center-633af27f2d17dc2ae3a8649bae8f6efe74da7347.tar.gz
common: Make Done button in language chooser blue
https://bugzilla.gnome.org/show_bug.cgi?id=737966
Diffstat (limited to 'panels/common')
-rw-r--r--panels/common/language-chooser.ui54
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>