~ubuntu-branches/ubuntu/saucy/indicator-appmenu/saucy-updates

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Automatic PS uploader, Mathieu Trudel-Lapierre, Automatic PS uploader
  • Date: 2013-02-20 09:41:54 UTC
  • mfrom: (1.1.40)
  • Revision ID: package-import@ubuntu.com-20130220094154-zrxsx0vgay436wyt
Tags: 13.01.0daily13.02.20-0ubuntu1
[ Mathieu Trudel-Lapierre ]
* Artificially bump upstream major version to please hud.

[ Automatic PS uploader ]
* Automatic snapshot from revision 234

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>