summaryrefslogtreecommitdiffstats
path: root/misc/filelightui.rc
blob: 1b0d48a3588737b1ff9b4ee46f780aee3610473a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE kpartgui>
<kpartgui name="filelight" version="4">
<MenuBar>
  <Menu name="file" noMerge="1"><text>&amp;Scan</text>
   <Action name="scan_directory"/>
    <Separator/>
    <Action name="scan_home"/>
    <Action name="scan_root"/>
    <Separator/>
    <Action name="scan_recent"/>
    <Separator/>
    <Action name="scan_rescan"/>
    <Action name="scan_stop"/>
    <Merge/>
    <Separator/>
    <Action name="file_quit"/>
  </Menu>
  <Menu name="view" noMerge="1"><text>&amp;View</text></Menu>
  <Menu name="go_web" noMerge="1"><text>&amp;Go</text>
    <Action name="go_up"/>
    <Separator/>
    <Action name="go_back"/>
    <Action name="go_forward"/>
  </Menu>
</MenuBar>

<ToolBar name="mainToolBar" noMerge="1"><text>Main Toolbar</text>
    <Action name="go_back"/>
    <Action name="go_forward"/>
    <Action name="go_up"/>
    <Separator lineSeperator="true"/>
    <Action name="scan_rescan"/>
    <Action name="scan_stop"/>
</ToolBar>
<ToolBar name="locationToolBar" fullWidth="true" noMerge="1"><text>Location Toolbar</text>
    <Action name="clear_location"/>
    <Action name="location_bar"/>
    <Action name="go"/>
</ToolBar>

<State name="scan_started">
  <enable>
    <Action name="scan_stop"/>
  </enable>
  <disable>
    <Action name="scan_directory"/>
    <Action name="scan_home"/>
    <Action name="scan_root"/>
    <Action name="scan_recent"/>
    <Action name="scan_rescan"/>
    <Action name="go_up"/>
    <Action name="go_back"/>
    <Action name="go_forward"/>
    <Action name="clear_location"/>
    <Action name="location_bar"/>
    <Action name="go"/>
    <Action name="view_zoom_in"/>
    <Action name="view_zoom_out"/>
    <Action name="configure_filelight"/>
  </disable>
</State>

<State name="scan_complete">
  <enable>
    <Action name="scan_directory"/>
    <Action name="scan_home"/>
    <Action name="scan_root"/>
    <Action name="scan_recent"/>
    <Action name="scan_rescan"/>
    <Action name="go_up"/>
    <Action name="go_back"/>
    <Action name="go_forward"/>
    <Action name="clear_location"/>
    <Action name="location_bar"/>
    <Action name="go"/>
    <Action name="view_zoom_in"/>
    <Action name="view_zoom_out"/>
    <Action name="configure_filelight"/>
  </enable>
  <disable>
    <Action name="scan_stop"/>
  </disable>
</State>

<State name="scan_failed">
  <!-- only for full failure situations -->
  <enable>
    <Action name="scan_directory"/>
    <Action name="scan_home"/>
    <Action name="scan_root"/>
    <Action name="scan_recent"/>
    <Action name="go_back"/>
    <Action name="go_forward"/>
    <Action name="clear_location"/>
    <Action name="location_bar"/>
    <Action name="go"/>
    <Action name="configure_filelight"/>
  </enable>
  <disable>
    <Action name="scan_stop"/>
    <Action name="scan_rescan"/>
    <Action name="go_up"/>
    <Action name="view_zoom_in"/>
    <Action name="view_zoom_out"/>
  </disable>
</State>

</kpartgui>