diff options
Diffstat (limited to 'contrib/gnunet_fs_gtk_search_tab.glade')
-rw-r--r-- | contrib/gnunet_fs_gtk_search_tab.glade | 295 |
1 files changed, 179 insertions, 116 deletions
diff --git a/contrib/gnunet_fs_gtk_search_tab.glade b/contrib/gnunet_fs_gtk_search_tab.glade index 38c0c38d..196a60dc 100644 --- a/contrib/gnunet_fs_gtk_search_tab.glade +++ b/contrib/gnunet_fs_gtk_search_tab.glade | |||
@@ -35,140 +35,167 @@ | |||
35 | </columns> | 35 | </columns> |
36 | </object> | 36 | </object> |
37 | <object class="GtkWindow" id="_search_result_frame_window"> | 37 | <object class="GtkWindow" id="_search_result_frame_window"> |
38 | <property name="can_focus">False</property> | ||
39 | <property name="type">popup</property> | ||
38 | <property name="title">You should never see this</property> | 40 | <property name="title">You should never see this</property> |
39 | <child> | 41 | <property name="skip_taskbar_hint">True</property> |
40 | <object class="GtkScrolledWindow" id="_search_frame_scrolled_window"> | 42 | <property name="skip_pager_hint">True</property> |
41 | <property name="height_request">100</property> | 43 | <property name="focus_on_map">False</property> |
42 | <property name="visible">True</property> | 44 | <property name="decorated">False</property> |
43 | <property name="can_focus">True</property> | 45 | <property name="deletable">False</property> |
44 | <property name="hscrollbar_policy">automatic</property> | ||
45 | <property name="vscrollbar_policy">automatic</property> | ||
46 | |||
47 | <child> | 46 | <child> |
48 | <object class="GtkTreeView" id="_search_result_frame"> | 47 | <object class="GtkScrolledWindow" id="_search_frame_scrolled_window"> |
48 | <property name="height_request">100</property> | ||
49 | <property name="visible">True</property> | 49 | <property name="visible">True</property> |
50 | <property name="can_focus">True</property> | 50 | <property name="can_focus">True</property> |
51 | <property name="model">GNUNET_GTK_file_sharing_result_tree_store</property> | 51 | <property name="hscrollbar_policy">automatic</property> |
52 | <property name="reorderable">True</property> | 52 | <property name="vscrollbar_policy">automatic</property> |
53 | <property name="enable_grid_lines">horizontal</property> | ||
54 | <property name="enable_tree_lines">True</property> | ||
55 | <child> | 53 | <child> |
56 | <object class="GtkTreeViewColumn" id="search_result_description_column"> | 54 | <object class="GtkTreeView" id="_search_result_frame"> |
57 | <property name="resizable">True</property> | 55 | <property name="visible">True</property> |
58 | <property name="sizing">autosize</property> | 56 | <property name="can_focus">True</property> |
59 | <property name="title" translatable="yes">Description</property> | 57 | <property name="model">GNUNET_GTK_file_sharing_result_tree_store</property> |
60 | <property name="expand">True</property> | ||
61 | <property name="clickable">True</property> | ||
62 | <property name="reorderable">True</property> | 58 | <property name="reorderable">True</property> |
63 | <property name="sort_indicator">True</property> | 59 | <property name="enable_grid_lines">horizontal</property> |
64 | <property name="sort_column_id">6</property> | 60 | <property name="enable_tree_lines">True</property> |
65 | <child> | 61 | <child> |
66 | <object class="GtkCellRendererProgress" id="search_result_description_renderer"/> | 62 | <object class="GtkTreeViewColumn" id="search_result_description_column"> |
67 | <attributes> | 63 | <property name="resizable">True</property> |
68 | <attribute name="cell-background">8</attribute> | 64 | <property name="sizing">autosize</property> |
69 | <attribute name="text">6</attribute> | 65 | <property name="title" translatable="yes">Description</property> |
70 | <attribute name="value">5</attribute> | 66 | <property name="expand">True</property> |
71 | </attributes> | 67 | <property name="clickable">True</property> |
68 | <property name="reorderable">True</property> | ||
69 | <property name="sort_indicator">True</property> | ||
70 | <property name="sort_column_id">6</property> | ||
71 | <child> | ||
72 | <object class="GtkCellRendererProgress" id="search_result_description_renderer"/> | ||
73 | <attributes> | ||
74 | <attribute name="cell-background">8</attribute> | ||
75 | <attribute name="text">6</attribute> | ||
76 | <attribute name="value">5</attribute> | ||
77 | </attributes> | ||
78 | </child> | ||
79 | </object> | ||
72 | </child> | 80 | </child> |
73 | </object> | ||
74 | </child> | ||
75 | <child> | ||
76 | <object class="GtkTreeViewColumn" id="search_result_mime_column"> | ||
77 | <property name="sizing">autosize</property> | ||
78 | <property name="title" translatable="yes">Format</property> | ||
79 | <property name="clickable">True</property> | ||
80 | <property name="reorderable">True</property> | ||
81 | <property name="sort_indicator">True</property> | ||
82 | <property name="sort_column_id">10</property> | ||
83 | <child> | 81 | <child> |
84 | <object class="GtkCellRendererText" id="search_result_mime_renderer"/> | 82 | <object class="GtkTreeViewColumn" id="search_result_mime_column"> |
85 | <attributes> | 83 | <property name="sizing">autosize</property> |
86 | <attribute name="background">8</attribute> | 84 | <property name="title" translatable="yes">Format</property> |
87 | <attribute name="text">10</attribute> | 85 | <property name="clickable">True</property> |
88 | </attributes> | 86 | <property name="reorderable">True</property> |
87 | <property name="sort_indicator">True</property> | ||
88 | <property name="sort_column_id">10</property> | ||
89 | <child> | ||
90 | <object class="GtkCellRendererText" id="search_result_mime_renderer"/> | ||
91 | <attributes> | ||
92 | <attribute name="background">8</attribute> | ||
93 | <attribute name="text">10</attribute> | ||
94 | </attributes> | ||
95 | </child> | ||
96 | </object> | ||
89 | </child> | 97 | </child> |
90 | </object> | ||
91 | </child> | ||
92 | <child> | ||
93 | <object class="GtkTreeViewColumn" id="search_result_size_column"> | ||
94 | <property name="sizing">autosize</property> | ||
95 | <property name="title" translatable="yes">Size</property> | ||
96 | <property name="reorderable">True</property> | ||
97 | <property name="sort_indicator">True</property> | ||
98 | <property name="sort_column_id">2</property> | ||
99 | <child> | 98 | <child> |
100 | <object class="GtkCellRendererProgress" id="search_result_size_renderer"/> | 99 | <object class="GtkTreeViewColumn" id="search_result_size_column"> |
101 | <attributes> | 100 | <property name="sizing">autosize</property> |
102 | <attribute name="cell-background">8</attribute> | 101 | <property name="title" translatable="yes">Size</property> |
103 | <attribute name="text">2</attribute> | 102 | <property name="reorderable">True</property> |
104 | <attribute name="value">4</attribute> | 103 | <property name="sort_indicator">True</property> |
105 | </attributes> | 104 | <property name="sort_column_id">2</property> |
105 | <child> | ||
106 | <object class="GtkCellRendererProgress" id="search_result_size_renderer"/> | ||
107 | <attributes> | ||
108 | <attribute name="cell-background">8</attribute> | ||
109 | <attribute name="text">2</attribute> | ||
110 | <attribute name="value">4</attribute> | ||
111 | </attributes> | ||
112 | </child> | ||
113 | </object> | ||
106 | </child> | 114 | </child> |
107 | </object> | ||
108 | </child> | ||
109 | <child> | ||
110 | <object class="GtkTreeViewColumn" id="search_result_applicability_column"> | ||
111 | <property name="sizing">autosize</property> | ||
112 | <property name="title">#</property> | ||
113 | <property name="reorderable">True</property> | ||
114 | <property name="sort_indicator">True</property> | ||
115 | <property name="sort_order">descending</property> | ||
116 | <property name="sort_column_id">11</property> | ||
117 | <child> | 115 | <child> |
118 | <object class="GtkCellRendererText" id="search_result_applicability_renderer"/> | 116 | <object class="GtkTreeViewColumn" id="search_result_applicability_column"> |
119 | <attributes> | 117 | <property name="sizing">autosize</property> |
120 | <attribute name="background">8</attribute> | 118 | <property name="title">#</property> |
121 | <attribute name="text">11</attribute> | 119 | <property name="reorderable">True</property> |
122 | </attributes> | 120 | <property name="sort_indicator">True</property> |
121 | <property name="sort_order">descending</property> | ||
122 | <property name="sort_column_id">11</property> | ||
123 | <child> | ||
124 | <object class="GtkCellRendererText" id="search_result_applicability_renderer"/> | ||
125 | <attributes> | ||
126 | <attribute name="background">8</attribute> | ||
127 | <attribute name="text">11</attribute> | ||
128 | </attributes> | ||
129 | </child> | ||
130 | </object> | ||
123 | </child> | 131 | </child> |
124 | </object> | ||
125 | </child> | ||
126 | <child> | ||
127 | <object class="GtkTreeViewColumn" id="search_result_preview_column"> | ||
128 | <property name="min_width">128</property> | ||
129 | <property name="max_width">128</property> | ||
130 | <property name="title" translatable="yes">Preview</property> | ||
131 | <property name="reorderable">True</property> | ||
132 | <child> | 132 | <child> |
133 | <object class="GtkCellRendererPixbuf" id="search_result_preview_renderer"/> | 133 | <object class="GtkTreeViewColumn" id="search_result_preview_column"> |
134 | <attributes> | 134 | <property name="min_width">128</property> |
135 | <attribute name="pixbuf">3</attribute> | 135 | <property name="max_width">128</property> |
136 | </attributes> | 136 | <property name="title" translatable="yes">Preview</property> |
137 | <property name="reorderable">True</property> | ||
138 | <child> | ||
139 | <object class="GtkCellRendererPixbuf" id="search_result_preview_renderer"/> | ||
140 | <attributes> | ||
141 | <attribute name="pixbuf">3</attribute> | ||
142 | </attributes> | ||
143 | </child> | ||
144 | </object> | ||
137 | </child> | 145 | </child> |
138 | </object> | 146 | </object> |
139 | </child> | 147 | </child> |
140 | </object> | 148 | </object> |
141 | </child> | 149 | </child> |
142 | </object> | 150 | </object> |
143 | </child> | ||
144 | </object> | ||
145 | <object class="GtkWindow" id="_search_result_label_window"> | 151 | <object class="GtkWindow" id="_search_result_label_window"> |
152 | <property name="can_focus">False</property> | ||
153 | <property name="type">popup</property> | ||
154 | <property name="title" translatable="yes">You shouldn't see this also</property> | ||
155 | <property name="type_hint">dock</property> | ||
156 | <property name="skip_taskbar_hint">True</property> | ||
157 | <property name="skip_pager_hint">True</property> | ||
158 | <property name="focus_on_map">False</property> | ||
159 | <property name="decorated">False</property> | ||
160 | <property name="deletable">False</property> | ||
146 | <child> | 161 | <child> |
147 | <object class="GtkHBox" id="_search_result_label_hbox"> | 162 | <object class="GtkHBox" id="_search_result_label_hbox"> |
148 | <property name="visible">True</property> | 163 | <property name="visible">True</property> |
164 | <property name="can_focus">False</property> | ||
149 | <property name="border_width">5</property> | 165 | <property name="border_width">5</property> |
150 | <child> | 166 | <child> |
151 | <object class="GtkLabel" id="_search_result_label_window_label"> | 167 | <object class="GtkLabel" id="_search_result_label_window_label"> |
152 | <property name="height_request">30</property> | 168 | <property name="height_request">30</property> |
153 | <property name="visible">True</property> | 169 | <property name="visible">True</property> |
170 | <property name="can_focus">False</property> | ||
154 | <property name="label" translatable="yes">query</property> | 171 | <property name="label" translatable="yes">query</property> |
155 | </object> | 172 | </object> |
156 | <packing> | 173 | <packing> |
157 | <property name="fill">False</property> | 174 | <property name="expand">True</property> |
175 | <property name="fill">True</property> | ||
158 | <property name="padding">5</property> | 176 | <property name="padding">5</property> |
159 | <property name="position">0</property> | 177 | <property name="position">0</property> |
160 | </packing> | 178 | </packing> |
161 | </child> | 179 | </child> |
162 | <child> | 180 | <child> |
163 | <object class="GtkButton" id="_search_result_label_play_button"> | 181 | <object class="GtkAlignment" id="_search_result_label_play_button_alignment"> |
164 | <property name="can_focus">True</property> | 182 | <property name="visible">True</property> |
165 | <property name="receives_default">True</property> | 183 | <property name="can_focus">False</property> |
166 | <property name="use_action_appearance">False</property> | 184 | <property name="xscale">0</property> |
185 | <property name="yscale">0</property> | ||
167 | <child> | 186 | <child> |
168 | <object class="GtkImage" id="play_icon_stock_image"> | 187 | <object class="GtkButton" id="_search_result_label_play_button"> |
169 | <property name="visible">True</property> | 188 | <property name="use_action_appearance">False</property> |
170 | <property name="stock">gtk-media-play</property> | 189 | <property name="can_focus">True</property> |
171 | <property name="icon-size">2</property> | 190 | <property name="receives_default">True</property> |
191 | <child> | ||
192 | <object class="GtkImage" id="play_icon_stock_image"> | ||
193 | <property name="visible">True</property> | ||
194 | <property name="can_focus">False</property> | ||
195 | <property name="stock">gtk-media-play</property> | ||
196 | <property name="icon-size">2</property> | ||
197 | </object> | ||
198 | </child> | ||
172 | </object> | 199 | </object> |
173 | </child> | 200 | </child> |
174 | </object> | 201 | </object> |
@@ -179,16 +206,25 @@ | |||
179 | </packing> | 206 | </packing> |
180 | </child> | 207 | </child> |
181 | <child> | 208 | <child> |
182 | <object class="GtkButton" id="_search_result_label_pause_button"> | 209 | <object class="GtkAlignment" id="_search_result_label_pause_button_alignment"> |
183 | <property name="visible">True</property> | 210 | <property name="visible">True</property> |
184 | <property name="can_focus">True</property> | 211 | <property name="can_focus">False</property> |
185 | <property name="receives_default">True</property> | 212 | <property name="xscale">0</property> |
186 | <property name="use_action_appearance">False</property> | 213 | <property name="yscale">0</property> |
187 | <child> | 214 | <child> |
188 | <object class="GtkImage" id="pause_icon_stock_image"> | 215 | <object class="GtkButton" id="_search_result_label_pause_button"> |
216 | <property name="use_action_appearance">False</property> | ||
189 | <property name="visible">True</property> | 217 | <property name="visible">True</property> |
190 | <property name="stock">gtk-media-pause</property> | 218 | <property name="can_focus">True</property> |
191 | <property name="icon-size">2</property> | 219 | <property name="receives_default">True</property> |
220 | <child> | ||
221 | <object class="GtkImage" id="pause_icon_stock_image"> | ||
222 | <property name="visible">True</property> | ||
223 | <property name="can_focus">False</property> | ||
224 | <property name="stock">gtk-media-pause</property> | ||
225 | <property name="icon-size">2</property> | ||
226 | </object> | ||
227 | </child> | ||
192 | </object> | 228 | </object> |
193 | </child> | 229 | </child> |
194 | </object> | 230 | </object> |
@@ -199,15 +235,24 @@ | |||
199 | </packing> | 235 | </packing> |
200 | </child> | 236 | </child> |
201 | <child> | 237 | <child> |
202 | <object class="GtkButton" id="_search_result_label_clear_button"> | 238 | <object class="GtkAlignment" id="_search_result_label_clear_button_alignment"> |
203 | <property name="visible">True</property> | 239 | <property name="visible">True</property> |
204 | <property name="can_focus">True</property> | 240 | <property name="can_focus">False</property> |
205 | <property name="receives_default">True</property> | 241 | <property name="xscale">0</property> |
206 | <property name="use_action_appearance">False</property> | 242 | <property name="yscale">0</property> |
207 | <child> | 243 | <child> |
208 | <object class="GtkImage" id="clear_icon_stock_image"> | 244 | <object class="GtkButton" id="_search_result_label_clear_button"> |
245 | <property name="use_action_appearance">False</property> | ||
209 | <property name="visible">True</property> | 246 | <property name="visible">True</property> |
210 | <property name="stock">gtk-clear</property> | 247 | <property name="can_focus">True</property> |
248 | <property name="receives_default">True</property> | ||
249 | <child> | ||
250 | <object class="GtkImage" id="clear_icon_stock_image"> | ||
251 | <property name="visible">True</property> | ||
252 | <property name="can_focus">False</property> | ||
253 | <property name="stock">gtk-clear</property> | ||
254 | </object> | ||
255 | </child> | ||
211 | </object> | 256 | </object> |
212 | </child> | 257 | </child> |
213 | </object> | 258 | </object> |
@@ -219,17 +264,26 @@ | |||
219 | </packing> | 264 | </packing> |
220 | </child> | 265 | </child> |
221 | <child> | 266 | <child> |
222 | <object class="GtkButton" id="_search_result_label_close_button"> | 267 | <object class="GtkAlignment" id="_search_result_label_close_button_alignment"> |
223 | <property name="visible">True</property> | 268 | <property name="visible">True</property> |
224 | <property name="can_focus">True</property> | 269 | <property name="can_focus">False</property> |
225 | <property name="receives_default">True</property> | 270 | <property name="xscale">0</property> |
226 | <property name="use_action_appearance">False</property> | 271 | <property name="yscale">0</property> |
227 | <property name="relief">half</property> | ||
228 | <child> | 272 | <child> |
229 | <object class="GtkImage" id="close_icon_stock_image"> | 273 | <object class="GtkButton" id="_search_result_label_close_button"> |
274 | <property name="use_action_appearance">False</property> | ||
230 | <property name="visible">True</property> | 275 | <property name="visible">True</property> |
231 | <property name="stock">gtk-close</property> | 276 | <property name="can_focus">True</property> |
232 | <property name="icon-size">2</property> | 277 | <property name="receives_default">True</property> |
278 | <property name="relief">half</property> | ||
279 | <child> | ||
280 | <object class="GtkImage" id="close_icon_stock_image"> | ||
281 | <property name="visible">True</property> | ||
282 | <property name="can_focus">False</property> | ||
283 | <property name="stock">gtk-close</property> | ||
284 | <property name="icon-size">2</property> | ||
285 | </object> | ||
286 | </child> | ||
233 | </object> | 287 | </object> |
234 | </child> | 288 | </child> |
235 | </object> | 289 | </object> |
@@ -242,4 +296,13 @@ | |||
242 | </object> | 296 | </object> |
243 | </child> | 297 | </child> |
244 | </object> | 298 | </object> |
299 | <object class="GtkSizeGroup" id="_search_result_label_buttons_size_group"> | ||
300 | <property name="mode">both</property> | ||
301 | <widgets> | ||
302 | <widget name="_search_result_label_play_button"/> | ||
303 | <widget name="_search_result_label_pause_button"/> | ||
304 | <widget name="_search_result_label_clear_button"/> | ||
305 | <widget name="_search_result_label_close_button"/> | ||
306 | </widgets> | ||
307 | </object> | ||
245 | </interface> | 308 | </interface> |