aboutsummaryrefslogtreecommitdiff
path: root/contrib/search_dialog.glade
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/search_dialog.glade')
-rw-r--r--contrib/search_dialog.glade216
1 files changed, 216 insertions, 0 deletions
diff --git a/contrib/search_dialog.glade b/contrib/search_dialog.glade
new file mode 100644
index 00000000..6f05811b
--- /dev/null
+++ b/contrib/search_dialog.glade
@@ -0,0 +1,216 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="2.20"/>
4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkListStore" id="GNUNET_GTK_namespace_list_store">
6 <columns>
7 <!-- column-name unique_name -->
8 <column type="gchararray"/>
9 <!-- column-name namespace_root -->
10 <column type="gchararray"/>
11 <!-- column-name nsid -->
12 <column type="gpointer"/>
13 <!-- column-name namespace_description -->
14 <column type="gchararray"/>
15 </columns>
16 </object>
17 <object class="GtkDialog" id="GNUNET_GTK_search_dialog">
18 <property name="width_request">500</property>
19 <property name="height_request">350</property>
20 <property name="border_width">5</property>
21 <property name="title" translatable="yes">Search GNUnet</property>
22 <property name="modal">True</property>
23 <property name="destroy_with_parent">True</property>
24 <property name="icon_name">system-search</property>
25 <property name="type_hint">dialog</property>
26 <property name="skip_taskbar_hint">True</property>
27 <property name="skip_pager_hint">True</property>
28 <property name="has_separator">False</property>
29 <child internal-child="vbox">
30 <object class="GtkVBox" id="GNUNET_GTK_search_dialog_main_vbox">
31 <property name="visible">True</property>
32 <property name="spacing">2</property>
33 <child>
34 <object class="GtkHBox" id="GNUNET_GTK_search_dialog_query_hbox">
35 <property name="visible">True</property>
36 <child>
37 <object class="GtkLabel" id="GNUNET_GTK_search_dialog_keyword_label">
38 <property name="visible">True</property>
39 <property name="label" translatable="yes">_Query:</property>
40 <property name="use_underline">True</property>
41 <property name="selectable">True</property>
42 <property name="mnemonic_widget">GNUNET_GTK_search_dialog_keyword_entry</property>
43 </object>
44 <packing>
45 <property name="expand">False</property>
46 <property name="fill">False</property>
47 <property name="position">0</property>
48 </packing>
49 </child>
50 <child>
51 <object class="GtkEntry" id="GNUNET_GTK_search_dialog_keyword_entry">
52 <property name="visible">True</property>
53 <property name="can_focus">True</property>
54 <property name="invisible_char">●</property>
55 <property name="activates_default">True</property>
56 <property name="caps_lock_warning">False</property>
57 <property name="primary_icon_stock">gtk-find</property>
58 <property name="primary_icon_tooltip_text" translatable="yes">Separate multiple keywords with spaces, prefix mandatory keywords with "+"</property>
59 <signal name="activate" handler="GNUNET_GTK_search_dialog_search_button_clicked_cb" swapped="no"/>
60 </object>
61 <packing>
62 <property name="position">1</property>
63 </packing>
64 </child>
65 <child>
66 <object class="GtkLabel" id="GNUNET_GTK_search_dialog_anonymity_label">
67 <property name="visible">True</property>
68 <property name="label" translatable="yes">_Anonymity:</property>
69 <property name="use_underline">True</property>
70 <property name="selectable">True</property>
71 <property name="mnemonic_widget">GNUNET_GTK_search_dialog_anonymity_spin_button</property>
72 </object>
73 <packing>
74 <property name="expand">False</property>
75 <property name="fill">False</property>
76 <property name="position">2</property>
77 </packing>
78 </child>
79 <child>
80 <object class="GtkSpinButton" id="GNUNET_GTK_search_dialog_anonymity_spin_button">
81 <property name="visible">True</property>
82 <property name="can_focus">True</property>
83 <property name="invisible_char">●</property>
84 <property name="caps_lock_warning">False</property>
85 <property name="adjustment">GNUNET_GTK_search_anonymity_adjustment</property>
86 <property name="climb_rate">1</property>
87 <property name="numeric">True</property>
88 <signal name="value-changed" handler="GNUNET_GTK_anonymity_spin_button_value_changed_cb" swapped="no"/>
89 </object>
90 <packing>
91 <property name="position">3</property>
92 </packing>
93 </child>
94 </object>
95 <packing>
96 <property name="expand">False</property>
97 <property name="fill">False</property>
98 <property name="padding">5</property>
99 <property name="position">1</property>
100 </packing>
101 </child>
102 <child>
103 <object class="GtkTreeView" id="GNUNET_GTK_search_dialog_namespace_tree_view">
104 <property name="visible">True</property>
105 <property name="can_focus">True</property>
106 <property name="model">GNUNET_GTK_namespace_list_store</property>
107 <property name="reorderable">True</property>
108 <property name="rules_hint">True</property>
109 <child>
110 <object class="GtkTreeViewColumn" id="GNUNET_GTK_search_dialog_namespace_name_column">
111 <property name="resizable">True</property>
112 <property name="title" translatable="yes">Name</property>
113 <property name="clickable">True</property>
114 <property name="reorderable">True</property>
115 <property name="sort_indicator">True</property>
116 <child>
117 <object class="GtkCellRendererText" id="GNUNET_GTK_search_dialog_namespace_name_renderer">
118 <property name="ellipsize">end</property>
119 </object>
120 <attributes>
121 <attribute name="text">0</attribute>
122 </attributes>
123 </child>
124 </object>
125 </child>
126 <child>
127 <object class="GtkTreeViewColumn" id="GNUNET_GTK_search_dialog_namespace_root_column">
128 <property name="resizable">True</property>
129 <property name="title" translatable="yes">Root</property>
130 <property name="clickable">True</property>
131 <child>
132 <object class="GtkCellRendererText" id="GNUNET_GTK_search_dialog_namespace_root_renderer">
133 <property name="ellipsize">end</property>
134 </object>
135 <attributes>
136 <attribute name="text">1</attribute>
137 </attributes>
138 </child>
139 </object>
140 </child>
141 <child>
142 <object class="GtkTreeViewColumn" id="GNUNET_GTK_search_dialog_namespace_description_column">
143 <property name="title" translatable="yes">Description</property>
144 <property name="expand">True</property>
145 <property name="clickable">True</property>
146 <child>
147 <object class="GtkCellRendererText" id="GNUNET_GTK_search_dialog_namespace_description_renderer">
148 <property name="wrap_mode">word</property>
149 </object>
150 <attributes>
151 <attribute name="text">3</attribute>
152 </attributes>
153 </child>
154 </object>
155 </child>
156 </object>
157 <packing>
158 <property name="position">2</property>
159 </packing>
160 </child>
161 <child internal-child="action_area">
162 <object class="GtkHButtonBox" id="GNUNET_GTK_search_dialog_action_area">
163 <property name="visible">True</property>
164 <property name="layout_style">end</property>
165 <child>
166 <object class="GtkButton" id="GNUNET_GTK_search_dialog_cancel_button">
167 <property name="label">gtk-cancel</property>
168 <property name="visible">True</property>
169 <property name="can_focus">True</property>
170 <property name="receives_default">True</property>
171 <property name="use_action_appearance">False</property>
172 <property name="use_stock">True</property>
173 </object>
174 <packing>
175 <property name="expand">False</property>
176 <property name="fill">False</property>
177 <property name="position">0</property>
178 </packing>
179 </child>
180 <child>
181 <object class="GtkButton" id="GNUNET_GTK_search_dialog_search_button">
182 <property name="label">gtk-find</property>
183 <property name="visible">True</property>
184 <property name="can_focus">True</property>
185 <property name="receives_default">True</property>
186 <property name="use_action_appearance">False</property>
187 <property name="use_stock">True</property>
188 <signal name="clicked" handler="GNUNET_GTK_search_dialog_search_button_clicked_cb" swapped="no"/>
189 </object>
190 <packing>
191 <property name="expand">False</property>
192 <property name="fill">False</property>
193 <property name="position">1</property>
194 </packing>
195 </child>
196 </object>
197 <packing>
198 <property name="expand">False</property>
199 <property name="pack_type">end</property>
200 <property name="position">0</property>
201 </packing>
202 </child>
203 </object>
204 </child>
205 <action-widgets>
206 <action-widget response="-6">GNUNET_GTK_search_dialog_cancel_button</action-widget>
207 <action-widget response="0">GNUNET_GTK_search_dialog_search_button</action-widget>
208 </action-widgets>
209 </object>
210 <object class="GtkAdjustment" id="GNUNET_GTK_search_anonymity_adjustment">
211 <property name="upper">100000</property>
212 <property name="value">1</property>
213 <property name="step_increment">1</property>
214 <property name="page_increment">10</property>
215 </object>
216</interface>