~attente/indicator-appmenu/indicator-appmenu

« back to all changes in this revision

Viewing changes to data/com.canonical.indicator.appmenu.hud.search.gschema.xml

  • Committer: Tarmac
  • Author(s): Ted Gould
  • Date: 2013-02-19 17:55:05 UTC
  • mfrom: (216.1.15 hudectomy)
  • Revision ID: tarmac-20130219175505-jjynbyonwdf8ui8p
Remove the HUD files from indicator-appmenu.

Approved by PS Jenkins bot, Mathieu Trudel-Lapierre, Charles Kerr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version='1.0' encoding='UTF-8'?>
2
 
 
3
 
<schemalist>
4
 
  <schema path='/com/canonical/indicator/appmenu/hud/search/'
5
 
          id='com.canonical.indicator.appmenu.hud.search'
6
 
          gettext-domain='indicator-appmenu'>
7
 
    <key type='u' name='indicator-penalty'>
8
 
      <default>50</default>
9
 
      <summary>The penalty given to a menu item being in an indicator</summary>
10
 
      <description>
11
 
        In order to have the application's menu items appear higher in the search results a slight penalty is
12
 
        given to the indicator menu items. This value represents the percentage of that penalty so a value of
13
 
        '50' is a 50% additional to the calculated distance.
14
 
      </description>
15
 
    </key>
16
 
 
17
 
    <key type='u' name='add-penalty'>
18
 
      <default>10</default>
19
 
      <summary>Penalty for extra characters added to the search</summary>
20
 
      <description>
21
 
        The penalty for each extra character in the search string that does not appear in the text of a menu
22
 
        item.
23
 
 
24
 
        This penalty would be applied if the user typed "fiile" when searching against the menu item "File", for
25
 
        example.
26
 
      </description>
27
 
    </key>
28
 
 
29
 
    <key type='u' name='drop-penalty'>
30
 
      <default>10</default>
31
 
      <summary>Penalty applied if a character is dropped</summary>
32
 
      <description>
33
 
        The penalty for each character dropped from the search string, as compared with the text of a menu item.
34
 
        This only applies to missing characters that are not at the end of the search term.
35
 
 
36
 
        This penalty would be applied if the user typed "fle" when searching against the menu item "File", for
37
 
        example.
38
 
      </description>
39
 
    </key>
40
 
 
41
 
    <key type='u' name='end-drop-penalty'>
42
 
      <default>1</default>
43
 
      <summary>Penalty applied if a character is dropped from the end</summary>
44
 
      <description>
45
 
        The penalty for each missing character at the end of a search term.
46
 
 
47
 
        This penalty would be applied if the user typed "fil" when searching against the menu item "File", for
48
 
        example.
49
 
      </description>
50
 
    </key>
51
 
 
52
 
    <key type='u' name='swap-penalty'>
53
 
      <default>15</default>
54
 
      <summary>Penalty applied when the characters are not the same</summary>
55
 
      <description>
56
 
        The penalty for each substituted character in the search term.
57
 
 
58
 
        The penalty would be applied if the user typed "fike" when searching against the menu item "File", for
59
 
        example.
60
 
      </description>
61
 
    </key>
62
 
 
63
 
    <key type='u' name='max-distance'>
64
 
      <default>30</default>
65
 
      <summary>The highest distance value that is shown in the results</summary>
66
 
      <description>
67
 
        After the distances are calculated (including the indicator penalty) then all values above this max are
68
 
        dropped. This means that the history for those entries aren't looked up as well.
69
 
      </description>
70
 
    </key>
71
 
  </schema>
72
 
</schemalist>