forked from enlightenment/enlightenment
hopefully this fixes the problem people are having with the background not loading.
SVN revision: 5937
This commit is contained in:
parent
d349987309
commit
3ecca04798
|
@ -75,7 +75,7 @@ function time_update(object data, number val){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
data.setText("$hour $min $seconds $timeofday");
|
data.setText("$hour:$min:$seconds $timeofday");
|
||||||
epp.addTimer("clockTimer",0.5,"time_update",0,data);
|
epp.addTimer("clockTimer",0.5,"time_update",0,data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ epp.resize(100, 30);
|
||||||
|
|
||||||
/* create background image object for clock */
|
/* create background image object for clock */
|
||||||
backgroundObj = new EvasObject(epp);
|
backgroundObj = new EvasObject(epp);
|
||||||
backgroundObj.addImage("clock.png");
|
backgroundObj.addImage(epp.getEppletDir()+"clock.png");
|
||||||
backgroundObj.move(epp.getX(),epp.getY());
|
backgroundObj.move(epp.getX(),epp.getY());
|
||||||
backgroundObj.setLayer(9998);
|
backgroundObj.setLayer(9998);
|
||||||
backgroundObj.show();
|
backgroundObj.show();
|
||||||
|
|
Loading…
Reference in New Issue