summaryrefslogtreecommitdiffstats
path: root/misc/filelight_partui.rc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/filelight_partui.rc')
-rw-r--r--misc/filelight_partui.rc40
1 files changed, 40 insertions, 0 deletions
diff --git a/misc/filelight_partui.rc b/misc/filelight_partui.rc
new file mode 100644
index 0000000..28ca733
--- /dev/null
+++ b/misc/filelight_partui.rc
@@ -0,0 +1,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> \ No newline at end of file