tracker-needle.ui 20.7 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
<interface>
3
  <!-- interface-requires gtk+ 3.0 -->
4 5 6 7 8 9
  <object class="GtkListStore" id="liststore_search">
    <columns>
      <!-- column-name text -->
      <column type="gchararray"/>
    </columns>
  </object>
10
  <object class="GtkWindow" id="window_needle">
11
    <property name="can_focus">False</property>
12
    <property name="title" translatable="yes">Desktop Search</property>
13
    <property name="default_width">720</property>
14
    <property name="default_height">480</property>
15
    <property name="icon_name">system-search</property>
16 17 18
    <child>
      <object class="GtkVBox" id="vbox_main">
        <property name="visible">True</property>
19
        <property name="can_focus">False</property>
20 21 22
        <child>
          <object class="GtkToolbar" id="toolbar_main">
            <property name="visible">True</property>
23
            <property name="can_focus">False</property>
24
            <child>
25
              <object class="GtkRadioToolButton" id="toolbutton_view_categories">
26
                <property name="visible">True</property>
27
                <property name="can_focus">False</property>
28
                <property name="tooltip_text" translatable="yes">Display results by category, for example, Music, Videos, Applications, etc.</property>
29
                <property name="use_action_appearance">False</property>
30 31
                <property name="is_important">True</property>
                <property name="use_underline">True</property>
32
                <property name="icon_name">help-faq</property>
33 34 35 36 37 38 39 40 41
                <property name="active">True</property>
                <property name="group">toolbutton_view_icons</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
            <child>
42
              <object class="GtkRadioToolButton" id="toolbutton_view_filelist">
43
                <property name="visible">True</property>
44
                <property name="can_focus">False</property>
45
                <property name="tooltip_text" translatable="yes">Display results by files found in a list</property>
46
                <property name="use_action_appearance">False</property>
47 48
                <property name="is_important">True</property>
                <property name="use_underline">True</property>
49
                <property name="icon_name">document-open</property>
50
                <property name="active">True</property>
51
                <property name="group">toolbutton_view_icons</property>
52 53 54 55 56
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
57 58
            </child>
            <child>
59
              <object class="GtkRadioToolButton" id="toolbutton_view_icons">
60
                <property name="visible">True</property>
61
                <property name="can_focus">False</property>
62
                <property name="tooltip_text" translatable="yes">Display found images</property>
63
                <property name="use_action_appearance">False</property>
64 65
                <property name="is_important">True</property>
                <property name="use_underline">True</property>
66
                <property name="icon_name">emblem-photos</property>
67 68 69 70 71 72
                <property name="active">True</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
73 74
            </child>
            <child>
75
              <object class="GtkSeparatorToolItem" id="separator_secondary">
76
                <property name="visible">True</property>
77
                <property name="can_focus">False</property>
78 79 80
              </object>
              <packing>
                <property name="expand">False</property>
81 82 83 84 85 86
                <property name="homogeneous">True</property>
              </packing>
            </child>
            <child>
              <object class="GtkRadioToolButton" id="toolbutton_find_in_contents">
                <property name="visible">True</property>
87
                <property name="can_focus">False</property>
88
                <property name="tooltip_text" translatable="yes">Find search criteria inside files</property>
89
                <property name="use_action_appearance">False</property>
90 91 92 93 94 95 96 97 98 99 100 101
                <property name="use_underline">True</property>
                <property name="stock_id">gtk-find</property>
                <property name="active">True</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
            <child>
              <object class="GtkRadioToolButton" id="toolbutton_find_in_titles">
                <property name="visible">True</property>
102
                <property name="can_focus">False</property>
103
                <property name="tooltip_text" translatable="yes">Find search criteria in file titles</property>
104
                <property name="use_action_appearance">False</property>
105 106 107 108 109 110 111 112 113
                <property name="use_underline">True</property>
                <property name="stock_id">gtk-bold</property>
                <property name="group">toolbutton_find_in_contents</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
114 115
            <child>
              <object class="GtkRadioToolButton" id="toolbutton_find_in_all">
116 117
                <property name="can_focus">False</property>
                <property name="use_action_appearance">False</property>
118 119 120 121 122 123 124 125 126 127
                <property name="use_underline">True</property>
                <property name="stock_id">gtk-select-all</property>
                <property name="active">True</property>
                <property name="group">toolbutton_find_in_titles</property>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
128 129 130
            <child>
              <object class="GtkSeparatorToolItem" id="&lt;separator&gt;">
                <property name="visible">True</property>
131
                <property name="can_focus">False</property>
132 133 134
              </object>
              <packing>
                <property name="expand">False</property>
135 136 137 138
                <property name="homogeneous">True</property>
              </packing>
            </child>
            <child>
139
              <object class="GtkToolItem" id="toolitem_search_label">
140
                <property name="visible">True</property>
141 142
                <property name="can_focus">False</property>
                <property name="use_action_appearance">False</property>
143 144 145 146
                <property name="is_important">True</property>
                <child>
                  <object class="GtkLabel" id="label_search">
                    <property name="visible">True</property>
147
                    <property name="can_focus">False</property>
148 149 150 151 152 153 154 155 156 157 158
                    <property name="label" translatable="yes">_Search:</property>
                    <property name="use_underline">True</property>
                  </object>
                </child>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
            <child>
159
              <object class="GtkToolItem" id="toolitem_search_entry">
160
                <property name="visible">True</property>
161 162
                <property name="can_focus">False</property>
                <property name="use_action_appearance">False</property>
163 164
                <property name="is_important">True</property>
                <child>
165
                  <object class="GtkAlignment" id="alignment1">
166
                    <property name="visible">True</property>
167
                    <property name="can_focus">False</property>
168
                    <property name="yscale">0</property>
169 170
                    <property name="left_padding">6</property>
                    <property name="right_padding">6</property>
171
                    <child>
172
                      <object class="GtkComboBox" id="combobox_search">
173
                        <property name="visible">True</property>
174
                        <property name="can_focus">False</property>
175 176
                        <property name="has_focus">True</property>
                        <property name="model">liststore_search</property>
177 178
                        <property name="has_entry">True</property>
                        <property name="entry_text_column">0</property>
179 180 181 182 183 184
                        <child internal-child="entry">
                          <object class="GtkEntry" id="combobox-entry">
                            <property name="can_focus">True</property>
                            <property name="has_focus">True</property>
                          </object>
                        </child>
185 186
                      </object>
                    </child>
187 188 189 190 191 192 193 194
                  </object>
                </child>
              </object>
              <packing>
                <property name="expand">True</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
195 196
            <child>
              <object class="GtkToolItem" id="toolcustom_spinner">
197
                <property name="can_focus">False</property>
198
                <property name="border_width">8</property>
199
                <property name="use_action_appearance">False</property>
200 201 202 203 204 205
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
206 207 208
            <child>
              <object class="GtkSeparatorToolItem" id="&lt;separator&gt;1">
                <property name="visible">True</property>
209
                <property name="can_focus">False</property>
210 211 212 213 214 215
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
216 217 218
            <child>
              <object class="GtkToggleToolButton" id="toolbutton_show_tags">
                <property name="visible">True</property>
219
                <property name="can_focus">False</property>
220
                <property name="tooltip_text" translatable="yes">Show tagging panel which allows editing tags of selected results</property>
221
                <property name="use_action_appearance">False</property>
222
                <property name="use_underline">True</property>
223
                <property name="icon_name">emblem-favorite</property>
224 225 226 227 228 229
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
230 231 232
            <child>
              <object class="GtkToolButton" id="toolbutton_show_stats">
                <property name="visible">True</property>
233
                <property name="can_focus">False</property>
234
                <property name="tooltip_text" translatable="yes">Show statistics about the data stored</property>
235
                <property name="use_action_appearance">False</property>
236
                <property name="use_underline">True</property>
237
                <property name="stock_id">gtk-info</property>
238 239 240 241 242 243
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="homogeneous">True</property>
              </packing>
            </child>
244 245 246
          </object>
          <packing>
            <property name="expand">False</property>
247
            <property name="fill">True</property>
248 249 250
            <property name="position">0</property>
          </packing>
        </child>
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283
        <child>
          <object class="GtkInfoBar" id="info_bar">
            <property name="visible">False</property>
	    <child internal-child="content_area">
	      <object class="GtkBox" id="info_bar_content_area">
		<child>
		  <object class="GtkLabel" id="info_bar_label">
		    <property name="visible">True</property>
		    <property name="label" translatable="yes"></property>
		    <property name="wrap">True</property>
		  </object>
		</child>
	      </object>
	    </child>
	    <child internal-child="action_area">
	      <object class="GtkBox" id="info_bar_action_area">
		<child>
		  <object class="GtkButton" id="info_bar_button">
		    <property name="label">gtk-close</property>
		    <property name="visible">True</property>
		    <property name="use_underline">True</property>
		    <property name="use_stock">True</property>
		  </object>
		</child>
	      </object>
	    </child>
	  </object>
	  <packing>
	    <property name="expand">False</property>
	    <property name="fill">True</property>
	    <property name="position">1</property>
	  </packing>
        </child>
284
        <child>
285
          <object class="GtkHPaned" id="hpaned">
286
            <property name="visible">True</property>
287
            <property name="can_focus">False</property>
288
            <property name="position">500</property>
289
            <child>
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
              <object class="GtkHBox" id="hbox_view">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="spacing">6</property>
                <child>
                  <placeholder/>
                </child>
              </object>
              <packing>
                <property name="resize">True</property>
                <property name="shrink">False</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">True</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkWindow" id="window_tags">
    <property name="can_focus">False</property>
    <child>
      <object class="GtkVBox" id="vbox_tags">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
319
        <property name="spacing">2</property>
320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438
        <child>
          <object class="GtkLabel" id="label_tag">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="xalign">0</property>
            <property name="label" translatable="yes">_Set the tags you want to associate with the %d selected items:</property>
            <property name="use_underline">True</property>
            <property name="justify">fill</property>
            <property name="wrap">True</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkHBox" id="hbox1">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="spacing">6</property>
            <child>
              <object class="GtkEntry" id="entry_tag">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="invisible_char"></property>
                <property name="activates_default">True</property>
                <property name="width_chars">5</property>
                <property name="invisible_char_set">True</property>
                <property name="primary_icon_activatable">False</property>
                <property name="secondary_icon_activatable">False</property>
                <signal name="activate" handler="tracker_tags_view_entry_tag_activate_cb" swapped="no"/>
              </object>
              <packing>
                <property name="expand">True</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkHBox" id="hbox2">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <child>
                  <object class="GtkButton" id="button_add">
                    <property name="visible">True</property>
                    <property name="sensitive">False</property>
                    <property name="can_focus">True</property>
                    <property name="can_default">True</property>
                    <property name="has_default">True</property>
                    <property name="receives_default">True</property>
                    <property name="tooltip_text" translatable="yes">Add tag</property>
                    <property name="use_action_appearance">False</property>
                    <property name="relief">none</property>
                    <child>
                      <object class="GtkImage" id="image1">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="stock">gtk-add</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">True</property>
                    <property name="fill">True</property>
                    <property name="position">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkButton" id="button_remove">
                    <property name="visible">True</property>
                    <property name="sensitive">False</property>
                    <property name="can_focus">True</property>
                    <property name="receives_default">True</property>
                    <property name="tooltip_text" translatable="yes">Remove selected tag</property>
                    <property name="use_action_appearance">False</property>
                    <property name="relief">none</property>
                    <child>
                      <object class="GtkImage" id="image2">
                        <property name="visible">True</property>
                        <property name="can_focus">False</property>
                        <property name="stock">gtk-remove</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">True</property>
                    <property name="fill">True</property>
                    <property name="position">1</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkScrolledWindow" id="scrolledwindow_tags">
            <property name="width_request">200</property>
            <property name="height_request">300</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="hscrollbar_policy">never</property>
            <property name="shadow_type">in</property>
            <child>
              <object class="GtkTreeView" id="treeview_tags">
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="headers_visible">False</property>
                <property name="enable_search">False</property>
439 440 441
                <child internal-child="selection">
                  <object class="GtkTreeSelection" id="treeview_tags_selection"/>
                </child>
442 443 444 445 446 447 448 449 450
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">True</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
451 452 453 454
      </object>
    </child>
  </object>
</interface>