e: handle mouse wheel in clock calendar.

SVN revision: 62442
This commit is contained in:
Cedric BAIL 2011-08-14 13:33:24 +00:00
parent ba6a7c5c6a
commit 2d551c551c
1 changed files with 16 additions and 2 deletions

View File

@ -13251,7 +13251,7 @@ collections {
part { name: "e.text.month";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
mouse_events: 1;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 0.0;
@ -13539,7 +13539,7 @@ collections {
} }
}
part { name: "inset";
mouse_events: 0;
mouse_events: 1;
description { state: "default" 0.0;
image.normal: "inset_sunk.png";
image.middle: 0;
@ -13552,6 +13552,20 @@ collections {
}
}
}
programs {
program {
name: "mw_next";
source: "*";
signal: "mouse,wheel,0,-1";
action: SIGNAL_EMIT "e,action,prev" "";
}
program {
name: "mw_right";
source: "*";
signal: "mouse,wheel,0,1";
action: SIGNAL_EMIT "e,action,next" "";
}
}
}
/////////////////////////////////////////////////////////////////////////////