summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/splash.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-30 02:17:16 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-30 02:17:16 +0000
commitbce2b26a717d668f5e1667eae891f173f27d014c (patch)
tree49e744a33e92a14cec49af743f8f713a5e069ed2 /beryl-plugins/src/splash.c
parentd4d22dfc8c4fbd2ff320ec136af9e84dcc6485a3 (diff)
downloadmarex-dev-bce2b26a717d668f5e1667eae891f173f27d014c.tar.gz
marex-dev-bce2b26a717d668f5e1667eae891f173f27d014c.tar.bz2
beryl-core, beryl-vidcap, beryl-plugins:
-add new groups system for options -add hints to options -still none of these are filled out -beryl-settings isn't converted to use the new hint checking function yet git-svn-id: file:///beryl/trunk@1462 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/splash.c')
-rw-r--r--beryl-plugins/src/splash.c40
1 files changed, 32 insertions, 8 deletions
diff --git a/beryl-plugins/src/splash.c b/beryl-plugins/src/splash.c
index a68921c..7680ef3 100644
--- a/beryl-plugins/src/splash.c
+++ b/beryl-plugins/src/splash.c
@@ -706,7 +706,10 @@ splashDisplayInitOptions (SplashDisplay * sd)
o = &sd->opt[SPLASH_DISPLAY_OPTION_INITIATE];
o->name = "initiate";
- o->shortDesc = N_("Initiate");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Initiate");
o->longDesc = N_("Start splash");
o->type = CompOptionTypeAction;
o->value.action.initiate = splashInitiate;
@@ -721,7 +724,10 @@ splashDisplayInitOptions (SplashDisplay * sd)
o = &sd->opt[SPLASH_DISPLAY_OPTION_BACKGROUND];
o->name = "background_file";
- o->shortDesc = N_("background file");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("background file");
o->longDesc = N_("Background image file");
o->type = CompOptionTypeString;
o->value.s = strdup (SPLASH_DISPLAY_OPTION_BACKGROUND_DEFAULT);
@@ -730,7 +736,10 @@ splashDisplayInitOptions (SplashDisplay * sd)
o = &sd->opt[SPLASH_DISPLAY_OPTION_LOGO];
o->name = "logo_file";
- o->shortDesc = N_("Logo file");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Logo file");
o->longDesc = N_("Logo image file");
o->type = CompOptionTypeString;
o->value.s = strdup (SPLASH_DISPLAY_OPTION_LOGO_DEFAULT);
@@ -739,7 +748,10 @@ splashDisplayInitOptions (SplashDisplay * sd)
o = &sd->opt[SPLASH_DISPLAY_OPTION_FADE_TIME];
o->name = "fade_time";
- o->shortDesc = N_("Fade Time");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Fade Time");
o->longDesc = N_("Fade In/Out Time");
o->type = CompOptionTypeFloat;
o->value.f = SPLASH_DISPLAY_OPTION_FADE_TIME_DEFAULT;
@@ -749,7 +761,10 @@ splashDisplayInitOptions (SplashDisplay * sd)
o = &sd->opt[SPLASH_DISPLAY_OPTION_DISPLAY_TIME];
o->name = "display_time";
- o->shortDesc = N_("Display Time");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Display Time");
o->longDesc = N_("Display Time");
o->type = CompOptionTypeFloat;
o->value.f = SPLASH_DISPLAY_OPTION_DISPLAY_TIME_DEFAULT;
@@ -759,7 +774,10 @@ splashDisplayInitOptions (SplashDisplay * sd)
o = &sd->opt[SPLASH_DISPLAY_OPTION_SATURATION];
o->name = "saturation";
- o->shortDesc = N_("Saturation");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Saturation");
o->longDesc = N_("Background saturation");
o->type = CompOptionTypeFloat;
o->value.f = SPLASH_DISPLAY_OPTION_SATURATION_DEFAULT;
@@ -769,7 +787,10 @@ splashDisplayInitOptions (SplashDisplay * sd)
o = &sd->opt[SPLASH_DISPLAY_OPTION_BRIGHTNESS];
o->name = "brightness";
- o->shortDesc = N_("Brightness");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Brightness");
o->longDesc = N_("Background brightness");
o->type = CompOptionTypeFloat;
o->value.f = SPLASH_DISPLAY_OPTION_BRIGHTNESS_DEFAULT;
@@ -779,7 +800,10 @@ splashDisplayInitOptions (SplashDisplay * sd)
o = &sd->opt[SPLASH_DISPLAY_OPTION_DISABLE_UPDATE];
o->name = "disable_update";
- o->shortDesc = N_("Disable updates");
+ o->group=N_("");
+o->subGroup=N_("");
+o->displayHints="";
+o->shortDesc = N_("Disable updates");
o->longDesc = N_("Disable updates of background");
o->type = CompOptionTypeBool;
o->value.b = SPLASH_DISPLAY_OPTION_DISABLE_UPDATE_DEFAULT;