]> git.0d.be Git - empathy.git/blob - libempathy-gtk/empathy-search-bar.ui
Base the search bar on GtkToolbar instead of GtkHBox in order not to resize the chat...
[empathy.git] / libempathy-gtk / empathy-search-bar.ui
1 <?xml version="1.0"?>
2 <interface>
3   <requires lib="gtk+" version="2.16"/>
4   <!-- interface-naming-policy project-wide -->
5   <object class="GtkToolbar" id="search_widget">
6     <property name="visible">True</property>
7     <property name="icon_size">2</property>
8     <property name="toolbar_style">GTK_TOOLBAR_BOTH_HORIZ</property>
9     <child>
10       <object class="GtkToolButton" id="search_close">
11         <property name="visible">True</property>
12         <property name="is_important">True</property>
13         <property name="receives_default">True</property>
14         <property name="icon_name">gtk-close</property>
15       </object>
16       <packing>
17         <property name="expand">False</property>
18         <property name="homogeneous">True</property>
19       </packing>
20     </child>
21     <child>
22       <object class="GtkToolItem" id="search_entry_toolitem">
23         <property name="visible">True</property>
24         <child>
25           <object class="GtkAlignment" id="alignment1">
26             <property name="visible">True</property>
27             <child>
28               <object class="GtkHBox" id="hbox1">
29                 <property name="visible">True</property>
30                 <property name="spacing">6</property>
31                 <child>
32                   <object class="GtkLabel" id="search_label">
33                     <property name="visible">True</property>
34                     <property name="label" translatable="yes">Find:</property>
35                   </object>
36                 </child>
37                 <child>
38                   <object class="GtkEntry" id="search_entry">
39                     <property name="visible">True</property>
40                     <property name="can_focus">True</property>
41                   </object>
42                 </child>
43               </object>
44             </child>
45           </object>
46         </child>
47       </object>
48     </child>
49     <child>
50       <object class="GtkToolButton" id="search_previous">
51         <property name="label" translatable="yes">Find Previous</property>
52         <property name="visible">True</property>
53         <property name="is_important">True</property>
54         <property name="icon_name">gtk-go-back-ltr</property>
55       </object>
56       <packing>
57         <property name="homogeneous">True</property>
58       </packing>
59     </child>
60     <child>
61       <object class="GtkToolButton" id="search_next">
62         <property name="label" translatable="yes">Find Next</property>
63         <property name="visible">True</property>
64         <property name="is_important">True</property>
65         <property name="icon_name">gtk-go-forward-ltr</property>
66       </object>
67       <packing>
68         <property name="homogeneous">True</property>
69       </packing>
70     </child>
71     <child>
72       <object class="GtkToolItem" id="search_match_case_toolitem">
73         <property name="visible">True</property>
74         <property name="is_important">True</property>
75         <child>
76           <object class="GtkCheckButton" id="search_match_case">
77             <property name="label" translatable="yes">Match case</property>
78             <property name="visible">True</property>
79             <property name="can_focus">True</property>
80             <property name="draw_indicator">True</property>
81           </object>
82         </child>
83       </object>
84       <packing>
85         <property name="homogeneous">True</property>
86       </packing>
87     </child>
88     <child>
89       <object class="GtkToolItem" id="search_not_found_toolitem">
90         <property name="visible">True</property>
91         <child>
92           <object class="GtkAlignment" id="alignment2">
93             <property name="visible">True</property>
94             <property name="left_padding">6</property>
95             <child>
96               <object class="GtkHBox" id="search_not_found">
97                 <property name="spacing">6</property>
98                 <child>
99                   <object class="GtkImage" id="image1">
100                     <property name="visible">True</property>
101                     <property name="stock">gtk-dialog-error</property>
102                   </object>
103                   <packing>
104                     <property name="position">0</property>
105                   </packing>
106                 </child>
107                 <child>
108                   <object class="GtkLabel" id="not_found_label">
109                     <property name="visible">True</property>
110                     <property name="label" translatable="yes">Phrase not found</property>
111                   </object>
112                   <packing>
113                     <property name="position">1</property>
114                   </packing>
115                 </child>
116               </object>
117             </child>
118           </object>
119         </child>
120       </object>
121     </child>
122   </object>
123 </interface>