summaryrefslogtreecommitdiffstats
path: root/misc/filelight_partui.rc
blob: 28ca7331254f1a82045c207902a6b767a77d8075 (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
<!DOCTYPE kpartgui>
<kpartgui name="filelight_part" version="2">
<MenuBar>
  <Menu name="view">
    <Action name="view_zoom_in" group="view_merge_group"/>
    <Action name="view_zoom_out" group="view_merge_group"/>
  </Menu>
  <Menu name="settings">
    <Action name="configure_filelight" group="configure_merge_group"/>
  </Menu>
</MenuBar>

<State name="scan_started">
  <disable>
    <Action name="view_zoom_in"/>
    <Action name="view_zoom_out"/>
    <Action name="configure_filelight"/>
  </disable>
</State>

<State name="scan_complete">
  <enable>
    <Action name="view_zoom_in"/>
    <Action name="view_zoom_out"/>
    <Action name="configure_filelight"/>
  </enable>
</State>

<State name="scan_failed">
  <!-- only for full failure situations -->
  <enable>
    <Action name="configure_filelight"/>
  </enable>
  <disable>
    <Action name="view_zoom_in"/>
    <Action name="view_zoom_out"/>
  </disable>
</State>

</kpartgui>