Merge lp:~elementary-apps/pantheon-mail/findbar-tweaks into lp:~elementary-apps/pantheon-mail/trunk

Proposed by Danielle Foré
Status: Merged
Approved by: kay van der Zander
Approved revision: 1870
Merged at revision: 1880
Proposed branch: lp:~elementary-apps/pantheon-mail/findbar-tweaks
Merge into: lp:~elementary-apps/pantheon-mail/trunk
Diff against target: 128 lines (+22/-36)
1 file modified
data/ui/find_bar.glade (+22/-36)
To merge this branch: bzr merge lp:~elementary-apps/pantheon-mail/findbar-tweaks
Reviewer Review Type Date Requested Status
kay van der Zander (community) Approve
Review via email: mp+277947@code.launchpad.net

Commit message

Findbar:
* Add tooltips to image buttons
* Add icon and hint text to entry
* Remove labels from arrows
* Add horizontal padding
* Use bottom-toolbar class

To post a comment you must log in.
1870. By Danielle Foré

make findbar not ugly

Revision history for this message
kay van der Zander (kay20) wrote :

Looks good

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/ui/find_bar.glade'
2--- data/ui/find_bar.glade 2015-02-25 02:19:43 +0000
3+++ data/ui/find_bar.glade 2015-11-23 01:26:19 +0000
4@@ -1,6 +1,7 @@
5 <?xml version="1.0" encoding="UTF-8"?>
6+<!-- Generated with glade 3.18.3 -->
7 <interface>
8- <!-- interface-requires gtk+ 3.0 -->
9+ <requires lib="gtk+" version="3.12"/>
10 <object class="GtkImage" id="image1">
11 <property name="visible">True</property>
12 <property name="can_focus">False</property>
13@@ -9,8 +10,9 @@
14 <object class="GtkImage" id="image2">
15 <property name="visible">True</property>
16 <property name="can_focus">False</property>
17+ <property name="valign">center</property>
18 <property name="icon_name">window-close-symbolic</property>
19- <property name="icon-size">1</property>
20+ <property name="icon_size">1</property>
21 </object>
22 <object class="GtkImage" id="image3">
23 <property name="visible">True</property>
24@@ -22,31 +24,18 @@
25 <property name="can_focus">False</property>
26 <property name="orientation">vertical</property>
27 <child>
28- <object class="GtkSeparator" id="separator1">
29- <property name="visible">True</property>
30- <property name="can_focus">False</property>
31- </object>
32- <packing>
33- <property name="expand">False</property>
34- <property name="fill">True</property>
35- <property name="position">0</property>
36- </packing>
37- </child>
38- <child>
39 <object class="GtkBox" id="box: controls">
40 <property name="visible">True</property>
41 <property name="can_focus">False</property>
42- <property name="margin_top">2</property>
43- <property name="margin_bottom">2</property>
44- <style>
45- <class name="toolbar"/>
46- </style>
47+ <property name="spacing">6</property>
48 <child>
49 <object class="GtkButton" id="button: close">
50 <property name="visible">True</property>
51 <property name="can_focus">True</property>
52 <property name="receives_default">True</property>
53- <property name="margin_right">6</property>
54+ <property name="valign">center</property>
55+ <property name="margin_left">3</property>
56+ <property name="margin_right">3</property>
57 <property name="image">image2</property>
58 <property name="relief">none</property>
59 <property name="always_show_image">True</property>
60@@ -58,25 +47,16 @@
61 </packing>
62 </child>
63 <child>
64- <object class="GtkLabel" id="label: find">
65- <property name="visible">True</property>
66- <property name="can_focus">False</property>
67- <property name="margin_right">2</property>
68- <property name="yalign">0.4699999988079071</property>
69- <property name="label" translatable="yes">Find:</property>
70- </object>
71- <packing>
72- <property name="expand">False</property>
73- <property name="fill">True</property>
74- <property name="position">1</property>
75- </packing>
76- </child>
77- <child>
78 <object class="GtkEntry" id="entry: find">
79 <property name="visible">True</property>
80 <property name="can_focus">True</property>
81+ <property name="valign">center</property>
82+ <property name="margin_top">3</property>
83+ <property name="margin_bottom">3</property>
84 <property name="invisible_char">●</property>
85- <property name="invisible_char_set">True</property>
86+ <property name="primary_icon_name">edit-find-symbolic</property>
87+ <property name="primary_icon_activatable">False</property>
88+ <property name="placeholder_text" translatable="yes">Find</property>
89 </object>
90 <packing>
91 <property name="expand">False</property>
92@@ -86,10 +66,11 @@
93 </child>
94 <child>
95 <object class="GtkButton" id="button: previous">
96- <property name="label" translatable="yes">_Previous</property>
97 <property name="visible">True</property>
98 <property name="can_focus">True</property>
99 <property name="receives_default">True</property>
100+ <property name="tooltip_text" translatable="yes">Previous Result</property>
101+ <property name="valign">center</property>
102 <property name="margin_left">2</property>
103 <property name="image">image3</property>
104 <property name="relief">none</property>
105@@ -104,10 +85,11 @@
106 </child>
107 <child>
108 <object class="GtkButton" id="button: next">
109- <property name="label" translatable="yes">_Next</property>
110 <property name="visible">True</property>
111 <property name="can_focus">True</property>
112 <property name="receives_default">True</property>
113+ <property name="tooltip_text" translatable="yes">Next result</property>
114+ <property name="valign">center</property>
115 <property name="image">image1</property>
116 <property name="relief">none</property>
117 <property name="use_underline">True</property>
118@@ -150,6 +132,10 @@
119 <property name="position">6</property>
120 </packing>
121 </child>
122+ <style>
123+ <class name="toolbar"/>
124+ <class name="bottom-toolbar"/>
125+ </style>
126 </object>
127 <packing>
128 <property name="expand">False</property>

Subscribers

People subscribed via source and target branches