summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2007-12-09 12:35:43 +0100
committerKristian Lyngstol <kristian@windu.lyngstol.net>2007-12-09 12:35:43 +0100
commit3ba9b9a7d31b0b486c824cc5e8394ae2e22efe15 (patch)
tree1aa965035a84ae91b4cb96ec72a78f973661f057
parentb9ca7e1356b2634bf07ab8bddd5390b06fce3c61 (diff)
downloadshelf-3ba9b9a7d31b0b486c824cc5e8394ae2e22efe15.tar.gz
shelf-3ba9b9a7d31b0b486c824cc5e8394ae2e22efe15.tar.bz2
Rename plugin to shelf
-rw-r--r--plugin.info2
-rw-r--r--shelf.c (renamed from miniwin2.c)8
-rw-r--r--shelf.xml.in (renamed from miniwin2.xml.in)2
3 files changed, 6 insertions, 6 deletions
diff --git a/plugin.info b/plugin.info
index 8e99b5b..8caafa1 100644
--- a/plugin.info
+++ b/plugin.info
@@ -1 +1 @@
-PLUGIN = miniwin2
+PLUGIN = shelf
diff --git a/miniwin2.c b/shelf.c
index 0967d7a..ca7912f 100644
--- a/miniwin2.c
+++ b/shelf.c
@@ -1,5 +1,5 @@
/*
- * Compiz Fusion Miniwin 2 plugin
+ * Compiz Fusion Shelf plugin
*
* Copyright (C) 2007 Canonical Ltd.
*
@@ -25,7 +25,7 @@
*/
#include <compiz-core.h>
-#include "miniwin2_options.h"
+#include "shelf_options.h"
typedef struct {
Window id;
@@ -159,7 +159,7 @@ miniwin2InitDisplay (CompPlugin *p,
screenPrivateIndex = allocateScreenPrivateIndex (d);
if (screenPrivateIndex < 0)
return FALSE;
- miniwin2SetTriggerKeyInitiate (d, miniwin2Trigger);
+ shelfSetTriggerKeyInitiate (d, miniwin2Trigger);
return TRUE;
}
@@ -218,7 +218,7 @@ miniwin2FiniObject (CompPlugin *p,
}
CompPluginVTable miniwin2VTable = {
- "miniwin2",
+ "shelf",
0,
0,
0,
diff --git a/miniwin2.xml.in b/shelf.xml.in
index 29b0fcc..e73f8ca 100644
--- a/miniwin2.xml.in
+++ b/shelf.xml.in
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<compiz>
- <plugin name="miniwin2" useBcop="true">
+ <plugin name="shelf" useBcop="true">
<_short>Create miniwindows</_short>
<_long>Visually scales a window down to allow easy monitoring
without true/traditional resizing.