summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/thumbnail.c
diff options
context:
space:
mode:
authorguillaume <guillaume@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-16 22:27:11 +0000
committerguillaume <guillaume@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-16 22:27:11 +0000
commita8760d3ebd9676d69b40072451d3c83db4edcec1 (patch)
tree88bd53bf17f633fdda51fd8a75fef581f2ac132a /beryl-plugins/src/thumbnail.c
parent80c552a4e0c2ca915fb2cea32a026cc75275ccb4 (diff)
downloadmarex-dev-a8760d3ebd9676d69b40072451d3c83db4edcec1.tar.gz
marex-dev-a8760d3ebd9676d69b40072451d3c83db4edcec1.tar.bz2
beryl-plugins:
"Always" is mispelled in thumbnail plugin (patch by trappist) closes #826 git-svn-id: file:///beryl/trunk@2733 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/thumbnail.c')
-rw-r--r--beryl-plugins/src/thumbnail.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/beryl-plugins/src/thumbnail.c b/beryl-plugins/src/thumbnail.c
index adc769f..f0e81f2 100644
--- a/beryl-plugins/src/thumbnail.c
+++ b/beryl-plugins/src/thumbnail.c
@@ -89,7 +89,7 @@
#define THUMB_BORDER_MAX 32
#define THUMB_CURRENT_VIEWPORT_DEFAULT TRUE
-#define THUMB_ALLWAYS_TOP_DEFAULT FALSE
+#define THUMB_ALWAYS_TOP_DEFAULT FALSE
#define THUMB_WINDOW_LIKE_DEFAULT FALSE
#define THUMB_MIPMAP_DEFAULT TRUE
@@ -99,7 +99,7 @@
#define THUMB_SCREEN_OPTION_BORDER 3
#define THUMB_SCREEN_OPTION_FADE 4
#define THUMB_SCREEN_OPTION_CURRENT_VIEWPORT 5
-#define THUMB_SCREEN_OPTION_ALLWAYS_TOP 6
+#define THUMB_SCREEN_OPTION_ALWAYS_TOP 6
#define THUMB_SCREEN_OPTION_WINDOW_LIKE 7
#define THUMB_SCREEN_OPTION_MIPMAP 8
#define THUMB_SCREEN_OPTION_NUM 9
@@ -590,12 +590,12 @@ thumbScreenInitOptions (ThumbScreen *ts)
o->advanced = False;
o->displayHints = "";
- o = &ts->opt[THUMB_SCREEN_OPTION_ALLWAYS_TOP];
- o->name = "allways_on_top";
- o->shortDesc = N_("Paint thumbnails allways on top");
- o->longDesc = N_("Paint thumbnails allways on top of the desktop");
+ o = &ts->opt[THUMB_SCREEN_OPTION_ALWAYS_TOP];
+ o->name = "always_on_top";
+ o->shortDesc = N_("Paint thumbnails always on top");
+ o->longDesc = N_("Paint thumbnails always on top of the desktop");
o->type = CompOptionTypeBool;
- o->value.b = THUMB_ALLWAYS_TOP_DEFAULT;
+ o->value.b = THUMB_ALWAYS_TOP_DEFAULT;
o->group = N_("Settings");
o->subGroup = N_("Taskbar");
o->advanced = False;
@@ -685,7 +685,7 @@ thumbSetScreenOption (CompScreen *screen,
return TRUE;
}
break;
- case THUMB_SCREEN_OPTION_ALLWAYS_TOP:
+ case THUMB_SCREEN_OPTION_ALWAYS_TOP:
case THUMB_SCREEN_OPTION_CURRENT_VIEWPORT:
case THUMB_SCREEN_OPTION_WINDOW_LIKE:
case THUMB_SCREEN_OPTION_MIPMAP:
@@ -987,7 +987,7 @@ thumbPaintScreen (CompScreen *s,
status = (*s->paintScreen) (s, sAttrib, region, output, newMask);
WRAP (ts, s, paintScreen, thumbPaintScreen);
- if (ts->opt[THUMB_SCREEN_OPTION_ALLWAYS_TOP].value.b)
+ if (ts->opt[THUMB_SCREEN_OPTION_ALWAYS_TOP].value.b)
{
if (ts->oldThumb.opacity > 0.0 && ts->oldThumb.win)
{
@@ -1023,7 +1023,7 @@ thumbPaintWindow (CompWindow *w,
status = (*s->paintWindow) (w, attrib, region, mask);
WRAP (ts, s, paintWindow, thumbPaintWindow);
- if (!ts->opt[THUMB_SCREEN_OPTION_ALLWAYS_TOP].value.b)
+ if (!ts->opt[THUMB_SCREEN_OPTION_ALWAYS_TOP].value.b)
{
if (ts->oldThumb.opacity > 0.0 && ts->oldThumb.win &&
ts->oldThumb.dock == w)