diff options
author | Yosef Or Boczko <yoseforb@src.gnome.org> | 2014-03-24 09:30:59 +0200 |
---|---|---|
committer | Yosef Or Boczko <yoseforb@src.gnome.org> | 2014-04-28 17:29:18 +0300 |
commit | 3758203a12e9cfc5dd1ced4130751d88adccb58e (patch) | |
tree | bc7214344f05aa727bd6e61e942883340f3fd536 /panels/keyboard | |
parent | 56e520cb00e827459f681a7e13e982670cd93dd1 (diff) | |
download | gnome-control-center-3758203a12e9cfc5dd1ced4130751d88adccb58e.tar.gz |
keyboard: Use header bar in the custom shortcut dialog
https://bugzilla.gnome.org/show_bug.cgi?id=724299
Diffstat (limited to 'panels/keyboard')
-rw-r--r-- | panels/keyboard/gnome-keyboard-panel.ui | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/panels/keyboard/gnome-keyboard-panel.ui b/panels/keyboard/gnome-keyboard-panel.ui index 857812c96..4b1f17312 100644 --- a/panels/keyboard/gnome-keyboard-panel.ui +++ b/panels/keyboard/gnome-keyboard-panel.ui @@ -10,57 +10,57 @@ </object> <object class="GtkDialog" id="custom-shortcut-dialog"> <property name="can_focus">False</property> - <property name="title" translatable="yes">Custom Shortcut</property> <property name="type_hint">dialog</property> - <child internal-child="vbox"> - <object class="GtkBox" id="dialog-vbox1"> + <property name="use_header_bar">1</property> + <child internal-child="headerbar"> + <object class="GtkHeaderBar" id="dialog-header-bar"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="orientation">vertical</property> - <child internal-child="action_area"> - <object class="GtkButtonBox" id="dialog-action_area2"> + <property name="title" translatable="yes">Custom Shortcut</property> + <property name="show_close_button">False</property> + <child> + <object class="GtkButton" id="cancelbutton1"> + <property name="label" translatable="yes">_Cancel</property> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="layout_style">end</property> - <child> - <object class="GtkButton" id="cancelbutton1"> - <property name="label">gtk-cancel</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_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkButton" id="okbutton1"> - <property name="label">gtk-apply</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="receives_default">False</property> - <property name="use_action_appearance">False</property> - <property name="use_stock">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> + <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="valign">center</property> + <style> + <class name="text-button"/> + </style> + </object> + <packing> + <property name="pack_type">start</property> + </packing> + </child> + <child> + <object class="GtkButton" id="okbutton1"> + <property name="label" translatable="yes">_Add</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="valign">center</property> + <style> + <class name="text-button"/> + <class name="suggested-action"/> + </style> </object> <packing> - <property name="expand">False</property> - <property name="fill">True</property> <property name="pack_type">end</property> - <property name="position">0</property> </packing> </child> + </object> + </child> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> <child> <object class="GtkVBox" id="vbox4"> <property name="visible">True</property> |