]> cgit.babelmonkeys.de Git - jubjub.git/blob - data/gtk/roster.ui
359de0150800d3626cd0580244e32a5c728cd4ab
[jubjub.git] / data / gtk / roster.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3   <!-- interface-requires gtk+ 3.0 -->
4   <object class="GtkListStore" id="PresenceListStore">
5     <columns>
6       <!-- column-name id -->
7       <column type="gchararray"/>
8       <!-- column-name status -->
9       <column type="gchararray"/>
10     </columns>
11     <data>
12       <row>
13         <col id="0">chat</col>
14         <col id="1" translatable="yes">Free for Chat</col>
15       </row>
16       <row>
17         <col id="0">available</col>
18         <col id="1" translatable="yes">Online</col>
19       </row>
20       <row>
21         <col id="0">away</col>
22         <col id="1" translatable="yes">Away</col>
23       </row>
24       <row>
25         <col id="0">xa</col>
26         <col id="1" translatable="yes">Extended Away</col>
27       </row>
28       <row>
29         <col id="0">dnd</col>
30         <col id="1" translatable="yes">Do Not Disturb</col>
31       </row>
32       <row>
33         <col id="0">unavailable</col>
34         <col id="1" translatable="yes">Offline</col>
35       </row>
36     </data>
37   </object>
38   <object class="GtkTreeStore" id="RosterTreeStore">
39     <columns>
40       <!-- column-name name -->
41       <column type="gchararray"/>
42       <!-- column-name jid -->
43       <column type="gchararray"/>
44     </columns>
45   </object>
46   <object class="GtkTreeModelFilter" id="RosterTreeModelFilter">
47     <property name="child_model">RosterTreeStore</property>
48   </object>
49   <object class="GtkWindow" id="RosterWindow">
50     <property name="can_focus">False</property>
51     <property name="title" translatable="yes">JubJub</property>
52     <property name="default_height">300</property>
53     <signal name="destroy" handler="on_roster_window_destroy" swapped="no"/>
54     <child>
55       <object class="GtkBox" id="box1">
56         <property name="visible">True</property>
57         <property name="can_focus">False</property>
58         <property name="orientation">vertical</property>
59         <child>
60           <object class="GtkMenuBar" id="menubar1">
61             <property name="visible">True</property>
62             <property name="can_focus">False</property>
63             <child>
64               <object class="GtkMenuItem" id="menuitem1">
65                 <property name="visible">True</property>
66                 <property name="can_focus">False</property>
67                 <property name="label" translatable="yes">_Datei</property>
68                 <property name="use_underline">True</property>
69                 <child type="submenu">
70                   <object class="GtkMenu" id="menu1">
71                     <property name="visible">True</property>
72                     <property name="can_focus">False</property>
73                     <child>
74                       <object class="GtkImageMenuItem" id="imagemenuitem1">
75                         <property name="label">gtk-new</property>
76                         <property name="visible">True</property>
77                         <property name="can_focus">False</property>
78                         <property name="use_underline">True</property>
79                         <property name="use_stock">True</property>
80                       </object>
81                     </child>
82                     <child>
83                       <object class="GtkImageMenuItem" id="imagemenuitem2">
84                         <property name="label">gtk-open</property>
85                         <property name="visible">True</property>
86                         <property name="can_focus">False</property>
87                         <property name="use_underline">True</property>
88                         <property name="use_stock">True</property>
89                       </object>
90                     </child>
91                     <child>
92                       <object class="GtkImageMenuItem" id="imagemenuitem3">
93                         <property name="label">gtk-save</property>
94                         <property name="visible">True</property>
95                         <property name="can_focus">False</property>
96                         <property name="use_underline">True</property>
97                         <property name="use_stock">True</property>
98                       </object>
99                     </child>
100                     <child>
101                       <object class="GtkImageMenuItem" id="imagemenuitem4">
102                         <property name="label">gtk-save-as</property>
103                         <property name="visible">True</property>
104                         <property name="can_focus">False</property>
105                         <property name="use_underline">True</property>
106                         <property name="use_stock">True</property>
107                       </object>
108                     </child>
109                     <child>
110                       <object class="GtkSeparatorMenuItem" id="separatormenuitem1">
111                         <property name="visible">True</property>
112                         <property name="can_focus">False</property>
113                       </object>
114                     </child>
115                     <child>
116                       <object class="GtkImageMenuItem" id="imagemenuitem5">
117                         <property name="label">gtk-quit</property>
118                         <property name="visible">True</property>
119                         <property name="can_focus">False</property>
120                         <property name="use_underline">True</property>
121                         <property name="use_stock">True</property>
122                         <signal name="activate" handler="gtk_main_quit" swapped="no"/>
123                       </object>
124                     </child>
125                   </object>
126                 </child>
127               </object>
128             </child>
129             <child>
130               <object class="GtkMenuItem" id="menuitem2">
131                 <property name="visible">True</property>
132                 <property name="can_focus">False</property>
133                 <property name="label" translatable="yes">_Bearbeiten</property>
134                 <property name="use_underline">True</property>
135                 <child type="submenu">
136                   <object class="GtkMenu" id="menu2">
137                     <property name="visible">True</property>
138                     <property name="can_focus">False</property>
139                     <child>
140                       <object class="GtkImageMenuItem" id="imagemenuitem6">
141                         <property name="label">gtk-cut</property>
142                         <property name="visible">True</property>
143                         <property name="can_focus">False</property>
144                         <property name="use_underline">True</property>
145                         <property name="use_stock">True</property>
146                       </object>
147                     </child>
148                     <child>
149                       <object class="GtkImageMenuItem" id="imagemenuitem7">
150                         <property name="label">gtk-copy</property>
151                         <property name="visible">True</property>
152                         <property name="can_focus">False</property>
153                         <property name="use_underline">True</property>
154                         <property name="use_stock">True</property>
155                       </object>
156                     </child>
157                     <child>
158                       <object class="GtkImageMenuItem" id="imagemenuitem8">
159                         <property name="label">gtk-paste</property>
160                         <property name="visible">True</property>
161                         <property name="can_focus">False</property>
162                         <property name="use_underline">True</property>
163                         <property name="use_stock">True</property>
164                       </object>
165                     </child>
166                     <child>
167                       <object class="GtkImageMenuItem" id="imagemenuitem9">
168                         <property name="label">gtk-delete</property>
169                         <property name="visible">True</property>
170                         <property name="can_focus">False</property>
171                         <property name="use_underline">True</property>
172                         <property name="use_stock">True</property>
173                       </object>
174                     </child>
175                   </object>
176                 </child>
177               </object>
178             </child>
179             <child>
180               <object class="GtkMenuItem" id="menuitem3">
181                 <property name="visible">True</property>
182                 <property name="can_focus">False</property>
183                 <property name="label" translatable="yes">_Ansicht</property>
184                 <property name="use_underline">True</property>
185               </object>
186             </child>
187             <child>
188               <object class="GtkMenuItem" id="menuitem4">
189                 <property name="visible">True</property>
190                 <property name="can_focus">False</property>
191                 <property name="label" translatable="yes">_Hilfe</property>
192                 <property name="use_underline">True</property>
193                 <child type="submenu">
194                   <object class="GtkMenu" id="menu3">
195                     <property name="visible">True</property>
196                     <property name="can_focus">False</property>
197                     <child>
198                       <object class="GtkImageMenuItem" id="imagemenuitem10">
199                         <property name="label">gtk-about</property>
200                         <property name="visible">True</property>
201                         <property name="can_focus">False</property>
202                         <property name="use_underline">True</property>
203                         <property name="use_stock">True</property>
204                       </object>
205                     </child>
206                   </object>
207                 </child>
208               </object>
209             </child>
210           </object>
211           <packing>
212             <property name="expand">False</property>
213             <property name="fill">True</property>
214             <property name="position">0</property>
215           </packing>
216         </child>
217         <child>
218           <object class="GtkScrolledWindow" id="scrolledwindow1">
219             <property name="visible">True</property>
220             <property name="can_focus">True</property>
221             <property name="shadow_type">in</property>
222             <child>
223               <object class="GtkTreeView" id="RosterTreeView">
224                 <property name="visible">True</property>
225                 <property name="can_focus">True</property>
226                 <property name="model">RosterTreeModelFilter</property>
227                 <property name="search_column">0</property>
228                 <child internal-child="selection">
229                   <object class="GtkTreeSelection" id="RosterTreeViewSelection"/>
230                 </child>
231                 <child>
232                   <object class="GtkTreeViewColumn" id="RosterTreeViewColumn1">
233                     <property name="title" translatable="yes">Name</property>
234                     <child>
235                       <object class="GtkCellRendererText" id="cellrenderertext1"/>
236                       <attributes>
237                         <attribute name="text">0</attribute>
238                       </attributes>
239                     </child>
240                   </object>
241                 </child>
242                 <child>
243                   <object class="GtkTreeViewColumn" id="RosterTreeViewColumn2">
244                     <property name="title" translatable="yes">JID</property>
245                     <child>
246                       <object class="GtkCellRendererText" id="cellrenderertext2"/>
247                       <attributes>
248                         <attribute name="text">1</attribute>
249                       </attributes>
250                     </child>
251                   </object>
252                 </child>
253               </object>
254             </child>
255           </object>
256           <packing>
257             <property name="expand">True</property>
258             <property name="fill">True</property>
259             <property name="position">1</property>
260           </packing>
261         </child>
262         <child>
263           <object class="GtkComboBox" id="PresenceCombobox">
264             <property name="visible">True</property>
265             <property name="can_focus">False</property>
266             <property name="model">PresenceListStore</property>
267             <property name="has_entry">True</property>
268             <property name="entry_text_column">1</property>
269             <property name="id_column">0</property>
270             <property name="active_id">unavailable</property>
271             <child internal-child="entry">
272               <object class="GtkEntry" id="PresenceComboBoxEntry">
273                 <property name="can_focus">False</property>
274                 <property name="editable">False</property>
275               </object>
276             </child>
277           </object>
278           <packing>
279             <property name="expand">False</property>
280             <property name="fill">True</property>
281             <property name="position">2</property>
282           </packing>
283         </child>
284       </object>
285     </child>
286   </object>
287 </interface>