Tiling2: Added a gadget group to the theme.

This commit is contained in:
Tom Hacohen 2014-02-06 15:06:11 +00:00
parent 47eec07d9a
commit 68a84521ae
4 changed files with 50 additions and 0 deletions

View File

@ -1,6 +1,9 @@
images {
image: "module_icon.png" COMP;
image: "icon_vertical.png" COMP;
image: "icon_horizontal.png" COMP;
image: "icon_floating.png" COMP;
}
collections {
group {
@ -18,4 +21,51 @@ collections {
}
}
}
group {
name: "modules/tiling/main";
parts {
part {
name: "image";
description {
state: "default" 0.0;
aspect: 1.0 1.0;
aspect_preference: BOTH;
image.normal: "icon_horizontal.png";
}
description {
state: "vertical" 0.0;
inherit: "default" 0.0;
image.normal: "icon_vertical.png";
}
description {
state: "floating" 0.0;
inherit: "default" 0.0;
image.normal: "icon_floating.png";
}
}
}
programs {
program {
name: "to_horizontal";
signal: "tiling,mode,horizontal";
source: "e";
action: STATE_SET "default" 0.0;
target: "image";
}
program {
name: "to_vertical";
signal: "tiling,mode,vertical";
source: "e";
action: STATE_SET "vertical" 0.0;
target: "image";
}
program {
name: "to_floating";
signal: "tiling,mode,floating";
source: "e";
action: STATE_SET "floating" 0.0;
target: "image";
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B