[gnome-control-center] common: Make Done button in language chooser blue
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] common: Make Done button in language chooser blue
- Date: Fri, 17 Oct 2014 10:21:32 +0000 (UTC)
commit 633af27f2d17dc2ae3a8649bae8f6efe74da7347
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 16 17:14:49 2014 +0200
common: Make Done button in language chooser blue
https://bugzilla.gnome.org/show_bug.cgi?id=737966
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 9dfca24..c8228bb 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]