summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-08-22 09:02:49 +0200
committerDanny Baumann <dannybaumann@web.de>2007-08-22 09:02:49 +0200
commit704b90ee5eeec6a43b01f42bb73566bbc2084976 (patch)
tree65028eb8d215f036c03305f2ab06c4e1c58d02f9
parent4281646fe194ec1dfe3f38f8946e53c763ce1a2e (diff)
downloadscreencasting-704b90ee5eeec6a43b01f42bb73566bbc2084976.tar.gz
screencasting-704b90ee5eeec6a43b01f42bb73566bbc2084976.tar.bz2
Track core changes.
-rw-r--r--plugin/screencasting.c8
-rw-r--r--plugin/screencasting.xml.in7
2 files changed, 6 insertions, 9 deletions
diff --git a/plugin/screencasting.c b/plugin/screencasting.c
index 6305d5b..042d20a 100644
--- a/plugin/screencasting.c
+++ b/plugin/screencasting.c
@@ -385,9 +385,9 @@ castGetDisplayOptions (CompPlugin *plugin,
}
static Bool
-castSetDisplayOption (CompPlugin *plugin,
- CompDisplay *display,
- char *name,
+castSetDisplayOption (CompPlugin *plugin,
+ CompDisplay *display,
+ const char *name,
CompOptionValue *value)
{
CompOption *o;
@@ -402,7 +402,7 @@ castSetDisplayOption (CompPlugin *plugin,
}
static const CompMetadataOptionInfo castDisplayOptionInfo[] = {
- { "initiate", "action", 0, castInitiate, 0 },
+ { "initiate", "key", 0, castInitiate, 0 },
{ "directory", "string", 0, 0, 0 }
};
diff --git a/plugin/screencasting.xml.in b/plugin/screencasting.xml.in
index 07bb37a..26e0129 100644
--- a/plugin/screencasting.xml.in
+++ b/plugin/screencasting.xml.in
@@ -4,13 +4,10 @@
<_short>ScreenCasting</_short>
<_long>ScreenCast plugin</_long>
<display>
- <option name="initiate" type="action">
+ <option name="initiate_key" type="key">
<_short>Initiate</_short>
<_long>Initiate screencasting</_long>
- <allowed key="true"/>
- <default>
- <key>&lt;Super&gt;F12</key>
- </default>
+ <default>&lt;Super&gt;F12</default>
</option>
<option name="directory" type="string">
<_short>Directory</_short>