summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2017-12-23 11:19:46 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2017-12-23 11:27:11 +0100
commit8b900d405355840af54535eddbabbf0e17ee5303 (patch)
tree9ada94a7b216327b168da7f538475f7d32663bc3 /data
parent1050b750d4ab3871717dab72a1faafbff2e91ee7 (diff)
downloadgnome-contacts-8b900d405355840af54535eddbabbf0e17ee5303.tar.gz
ContactsWindow: use a Cancel button when selecting.
See [bug 764179](https://bugzilla.gnome.org/show_bug.cgi?id=764179).
Diffstat (limited to 'data')
-rw-r--r--data/ui/contacts-window.ui19
1 files changed, 12 insertions, 7 deletions
diff --git a/data/ui/contacts-window.ui b/data/ui/contacts-window.ui
index a799d8d..30432a8 100644
--- a/data/ui/contacts-window.ui
+++ b/data/ui/contacts-window.ui
@@ -176,26 +176,20 @@
</packing>
</child>
<child>
- <object class="GtkToggleButton" id="select_button">
+ <object class="GtkButton" id="select_button">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="focus_on_click">False</property>
- <property name="halign">center</property>
- <property name="valign">center</property>
<child internal-child="accessible">
<object class="AtkObject" id="select_button_atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Selection mode</property>
</object>
</child>
- <style>
- <class name="image-button"/>
- </style>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="icon_name">object-select-symbolic</property>
- <property name="icon_size">1</property>
</object>
</child>
</object>
@@ -203,6 +197,17 @@
<property name="pack_type">end</property>
</packing>
</child>
+ <child>
+ <object class="GtkButton" id="select_cancel_button">
+ <property name="visible">False</property>
+ <property name="can_focus">True</property>
+ <property name="focus_on_click">False</property>
+ <property name="label" translatable="yes">Cancel</property>
+ </object>
+ <packing>
+ <property name="pack_type">end</property>
+ </packing>
+ </child>
</object>
</child>
<child>