summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-12-16 12:53:44 +0100
committerGravatar Nikias Bassen2009-12-16 12:53:44 +0100
commit082c1ce38909ba5cd85d8de84329f7f82dd0a77f (patch)
treefa83143c4625f5d0b2c91a2cb83ecfca542d1706 /src
parent6a6e03d5963a6337e2e091cfed6c3ee3e63842be (diff)
downloadsbmanager-082c1ce38909ba5cd85d8de84329f7f82dd0a77f.tar.gz
sbmanager-082c1ce38909ba5cd85d8de84329f7f82dd0a77f.tar.bz2
Replaced dock.png with a full screen background.png
Also included the picture in the autofoo stuff.
Diffstat (limited to 'src')
-rw-r--r--src/dock.pngbin15852 -> 0 bytes
-rw-r--r--src/sbmanager.c8
2 files changed, 5 insertions, 3 deletions
diff --git a/src/dock.png b/src/dock.png
deleted file mode 100644
index 9e4d49c..0000000
--- a/src/dock.png
+++ /dev/null
Binary files differ
diff --git a/src/sbmanager.c b/src/sbmanager.c
index ad17a92..5ca4637 100644
--- a/src/sbmanager.c
+++ b/src/sbmanager.c
@@ -32,6 +32,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include <clutter-gtk/clutter-gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
+#include "../data/data.h"
+
#define ITEM_FONT "Sans Bold 7"
typedef struct {
@@ -509,16 +511,16 @@ int main(int argc, char **argv)
/* dock background */
GError *err = NULL;
- actor = clutter_texture_new_from_file("./dock.png", &err);
+ actor = clutter_texture_new_from_file(BGPIC, &err);
if (err) {
g_error_free(err);
}
if (actor) {
- clutter_actor_set_position(actor, 0, clutter_actor_get_height(stage) - clutter_actor_get_height(actor));
+ clutter_actor_set_position(actor, 0, 0);
clutter_actor_show(actor);
clutter_group_add (CLUTTER_GROUP(stage), actor);
} else {
- fprintf(stderr, "could not load dock.png\n");
+ fprintf(stderr, "could not load background.png\n");
}
/* clock widget */